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.
 

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

Back
Top