![]() |
| 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. |
|
|||||||
| Tags: automation, email, help, outlook |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am desperate for some help on doing email with Outlook using OLE from a VB
app that will call out to Outlook to send email. There are 2 reasons I believe I need to use OLE. First, I must add info to the email message (to the body of the message) *after* the user has clicked on Send to send the message in Outlook, and before it actually gets sent. Second, I must capture the final message and store it into a table. Which means, I must capture the message after the user has clicked on Send and before it actually goes out. Does anyone have some specific help (maybe some sample code?) on how I can accomplish these tasks? Many, many thanks for any and all ideas, Mark |
| Ads |
|
#2
|
|||
|
|||
|
I think what you need to use is Outlook COM automation. Take a look at
various item Send examples at www.outlookcode.com for ideas. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Markus" wrote in message ... I am desperate for some help on doing email with Outlook using OLE from a VB app that will call out to Outlook to send email. There are 2 reasons I believe I need to use OLE. First, I must add info to the email message (to the body of the message) *after* the user has clicked on Send to send the message in Outlook, and before it actually gets sent. Second, I must capture the final message and store it into a table. Which means, I must capture the message after the user has clicked on Send and before it actually goes out. Does anyone have some specific help (maybe some sample code?) on how I can accomplish these tasks? Many, many thanks for any and all ideas, Mark |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Access Email Automation | Emma Hope | Outlook and VBA | 5 | April 28th 08 06:54 PM |
| Automation error when trying to send email | John | Outlook - General Queries | 2 | October 29th 07 07:57 PM |
| Automation error when trying to send email | John | Outlook and VBA | 2 | October 29th 07 07:57 PM |
| Outlook Automation Automation Problem Out of Memory | MikeA[_2_] | Outlook and VBA | 7 | July 30th 07 02:31 PM |
| Email Automation in Vista | John Hutcins | Outlook and VBA | 1 | January 25th 07 07:26 PM |