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

Tags: , , ,

Outlook email automation help





 
 
Thread Tools Display Modes
  #1  
Old July 3rd 08, 04:56 PM posted to microsoft.public.outlook.program_vba
Markus
external usenet poster
 
Posts: 27
Default Outlook email automation help

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  
Old July 3rd 08, 05:31 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,251
Default Outlook email automation help

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

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
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


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Finance - Loans - Mortgage Loans - Free Music Downloads - Debt Consolidation