Stationery missing when sending email via code

J

John

Hi

In outlook I have set stationery and signatures under 'Mail Format' tab. The
problem is when I send email from another application via code such as

Set OutlookApp = New Outlook.Application
Set EM = OutlookApp.CreateItem(olMailItem)

The email ignores the stationery. What is the problem and how can I make the
stationery work even when mail is sent via code?

Many Thanks

Regards
 
S

Sue Mosher [MVP-Outlook]

Accessing the Inspector with MailItem.GetInspector (or displaying the item) should insert the automatic signature, if any, into the MailItem. If you're doing stationery, too, you'd have to parse the signature's HTML and stationery HTML and combine them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top