Email object

  • Thread starter Thread starter JMG
  • Start date Start date
J

JMG

Hi there.

I send automatic emails from word using otlook.object importing
an external txt file and setting it as the body of the message.

Is there a chance to copy a message stored in my folder ("Sending
emails")
and to send it instead of reading the txt file?

Thanks in advance
Marco.
 
Create your sample message and save it as an OFT file to the file system.
Then use the Application.CreateItemFromTemplate method to open that template
using your code. Of course Application in this context is an
Outlook.Application object.
 
Back
Top