WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Outlook email automation help

 
   Home -> Office -> Programming VBA RSS
Next:  Programming VBA: Need Help to Set MS Office Outlook  
Author Message
Markus

External


Since: Oct 20, 2004
Posts: 48



(Msg. 1) Posted: Thu Jul 03, 2008 8:56 am
Post subject: Outlook email automation help Add to elertz
Archived from groups: microsoft>public>outlook>program_vba (more info?)

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
Back to top
Login to vote
Ken Slovak - [MVP - Outlo

External


Since: Oct 17, 2003
Posts: 4723



(Msg. 2) Posted: Thu Jul 03, 2008 12:31 pm
Post subject: Re: Outlook email automation help Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" <Markus.TakeThisOut@discussions.microsoft.com> wrote in message
news:73BA76F6-991B-4D91-AA27-54CF83D71560@microsoft.com...
>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
>
>
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET