我是Notes的新手.我正在尝试使用带有附件的Lotus Notes从我的应用程序发送邮件,邮件正常,附件也可以,但问题是身体内容,身体失去其格式并且直线
我希望如下
Dear Sir,
please check the attachment.
Regards,
NewConcept Infotech Pvt.Ltd.,
Run Code Online (Sandbox Code Playgroud)
但它是这样的
Dear Sir,please check the attachment.Regards,NewConcept Infotech Pvt.Ltd.,
Run Code Online (Sandbox Code Playgroud)
我尝试了一切google搜索但没有用.
这是我的代码
public bool Email(string dbDirectory, string DataBase_Name, string Initialize_Pwd, string From, string To, string CC, string Bcc, string Subject, string body, string FileName, string LogFilePath)
{
bool msg = false;
dynamic EMailReplyTo = ConfigurationSettings.AppSettings["EMailReplyTo"];
NotesSession objNotesSession = new NotesSession();
NotesDatabase ndb = null;
NotesDocument ndoc = null;
NotesDbDirectory ndbD = null;
NotesStream LNStream;
NotesMIMEEntity LNBody;
object objAttach;
try …Run Code Online (Sandbox Code Playgroud)