From: Dennis Rose on
I have a VB5 Program that sends Emails to customers from various salespeople.
If I change either Outlook or Outlook Express to have a different email
address for each salesperson, how can I automatically insert the
salesperson's Email address in the "From" Address in the Email automatically
generated by my VB program.

Currently the "From" email address is determined by whoever logged onto
either Outlook/Outlook Express last.

Also, I want Outlook to immediately send the Email without waiting for
someone to log onto Outlook and click the Send/Receive button?

Would really appreciate your help with this.
From: Tony Toews [MVP] on
Dennis Rose <DennisRose(a)discussions.microsoft.com> wrote:

>Thanks for the help.
>Where would I insert such code. I'm new at this email/Outlook interface
>problem.

This would only work if you were using Outlook which you aren't. My
point though is the Outlook terminology is "on behalf of" and that you
need to grant permissions from the other email account. Maybe there's
something similar in MAPI.

Tony
--
Tony Toews, Microsoft Access MVP
Tony's Main MS Access pages - http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
For a convenient utility to keep your users FEs and other files
updated see http://www.autofeupdater.com/
Granite Fleet Manager http://www.granitefleet.com/