Add the default outlook signature in the email generated

前端 未结 11 480
甜味超标
甜味超标 2020-12-08 07:11

I am using the Microsoft.Office.Interop.Outlook.Application to generate an email and display it on the screen before the user can send it. The application is a

11条回答
  •  悲&欢浪女
    2020-12-08 08:13

    To get/set the user's default signature you can use the windows registry. Example for Outlook 2010: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Common\MailSettings Name: NewSignature Datatype: String Value: (name of signature file without ending)

提交回复
热议问题