[频繁重新发布] Outlookmail:在我的系统中工作正常当我发布此代码到服务器时它显示一些Web.Config错误。 [英] [Frequent Repost]Outlookmail:In My System Its Work Fine When I Am Publish This Code To Server Its Shows Some Web.Config Error.
问题描述
outlook.Application oApp = new outlook.Application();
outlook.MailItem oMsg =(outlook.MailItem)oApp.CreateItem(outlook.OlItemType.olMailItem);
outlook.Inspector oInspector = oMsg.GetInspector;
oMsg.HTMLBody =亲爱的先生,
请为脚手架工作分配优先级;
oMsg.Subject =来自脚手架工作的新请求;
outlook.Recipients oRecips =(outlook.Recipients)oMsg.Recipients;
outlook.Recipient oRecip =(outlook.Recipient)oRecips.Add(safihur@fabtech.ae);
oRecip.Resolve();
oMsg.Send();
oRecip = null;
oRecips = null;
oMsg = null;
oApp = null;
outlook.Application oApp = new outlook.Application();
outlook.MailItem oMsg = (outlook.MailItem)oApp.CreateItem(outlook.OlItemType.olMailItem);
outlook.Inspector oInspector = oMsg.GetInspector;
oMsg.HTMLBody = "Dear Sir,
Please Assign the Priority for Scaffolding Jobs";
oMsg.Subject = "New Request from Scaffolding Jobs";
outlook.Recipients oRecips = (outlook.Recipients)oMsg.Recipients;
outlook.Recipient oRecip = (outlook.Recipient)oRecips.Add("safihur@fabtech.ae");
oRecip.Resolve();
oMsg.Send();
oRecip = null;
oRecips = null;
oMsg = null;
oApp = null;
推荐答案
这篇关于[频繁重新发布] Outlookmail:在我的系统中工作正常当我发布此代码到服务器时它显示一些Web.Config错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!