Send an Email - From Box

D

D244153

Hello I have set up a SendObject routine, all works OK.

When the email is generated, I have to manually enter in the FROM box, the
mailbox the email gets sent from. Does anyone know how when I send the
email, I can programme in, for it to be sent from another Mailbox?
 
J

Jon Lewis

SendObject will operate using the current windows user's default email
client (using the default mail account). If you want more control then you
have to use a different method. Check out the CDO object library (there's
plenty of Googleable examples of sending email with Outlook using CDO)

HTH
 
Top