A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Email object



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 21st 06, 12:37 PM posted to microsoft.public.outlook.program_vba
JMG
external usenet poster
 
Posts: 1
Default Email object

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.

  #2  
Old April 21st 06, 03:27 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Email object

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JMG" wrote in message
ups.com...
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.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending email generates an "object not found" message. How to fix flint Outlook - Installation 5 September 22nd 08 01:39 AM
You made changes to another copy of this object... Noppie Outlook - General Queries 0 February 20th 06 06:53 PM
Object can not be found naguaramipana Outlook - General Queries 3 January 30th 06 06:17 AM
Help - Object Model Guard Jack Ryan Outlook - Using Contacts 2 January 26th 06 08:42 PM
Operation Failed. An object could not be found Raymon Outlook - Installation 0 January 21st 06 04:26 AM


All times are GMT +1. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.