C# - How to include Outlook signature in an email that contains images?

前端 未结 2 1742
说谎
说谎 2021-01-24 19:11

Here is my code to send the email in Outlook 2013:

public void GenerateEmail(OutEmail outEmail)
{
    var objOutlook = new         


        
2条回答
  •  余生分开走
    2021-01-24 19:28

    try below mentioned

    mailItem.GetInspector.Activate();
    var signature = mailItem.HTMLBody;
    mailItem.HTMLBody = EmailBody + signature;
    

提交回复
热议问题