Filling the From Field in an Automated Outlook Message

Filling the From Field in an Automated Outlook Message

Post by John d via » Wed, 27 Oct 2004 05:28:04


Is there any way to set the From field in an Outlook message? I have the email sent via VB code with no problem but I want to have a different email address put in the From field. Any ideas? Thanks.

*****************************************
* This message was posted via http://www.yqcomputer.com/
*
* Report spam or abuse by clicking the following URL:
* http://www.yqcomputer.com/
*****************************************
 
 
 

Filling the From Field in an Automated Outlook Message

Post by MacDermot » Wed, 27 Oct 2004 11:33:08

If you are using OutputTo, no.
If you're automating Outlook, perhaps.



email sent via VB code with no problem but I want to have a different email
address put in the From field. Any ideas? Thanks.
http://www.yqcomputer.com/

 
 
 

Filling the From Field in an Automated Outlook Message

Post by pietlinde » Wed, 27 Oct 2004 12:27:45


I think you can if you log into a specific profile in your MAPI
session or whatever. Also, I think CDOSys or CDONTS allows you to do
this. It's been a *LONG* time since I played with that, but IIRC, you
can do that with CDONTS. You'll need to check the MS site, because
they may have issued a new version of it.