[频繁重新发布] 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.

查看:48
本文介绍了[频繁重新发布] Outlookmail:在我的系统中工作正常当我发布此代码到服务器时它显示一些Web.Config错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆