• Subject: Re: Changing the Outlook "from" address using VBA
  • Author: Tony Jollans
  • Date: 27 Apr
  • References: 1
In earlier versions it is more awkward but in 2007 you can use the
SendUsingAccount property of the MailItem.

Enjoy,
Tony
"lookatmypie" <lookatmypie@discussions.microsoft.com> wrote in message
news:13C26A28-BE68-43D8-A721-F0037F0863C0@microsoft.com...
>I am developing an application in access 2007. The app needs to send emails
> to customers but the account from which the email is sent is dependent on
> the
> customer. At the moment I am using "DoCmd.SendObject" but I don't know how
> to
> change the "from" address. If someone could point me in the right
> direction
> or give me a code sample of how to manipulate the "from" address I'd be
> really grateful.
> Thanks,
> lookatmypie
25 AprChanging the Outlook "from" address using VBA.lookatmypie
27 Apr|- Re: Changing the Outlook "from" address using VBA.JP
27 Apr\ Re: Changing the Outlook "from" address using VBA.Tony Jollans
All times are in (US) Eastern Daylight Time (GMT -4:00)