Ron,
Thanks for the help.
However, I tried this and it did not work.
I entered it as
..SentOnBehalfOfName ="(e-mail address removed)"
Next, I tried using this
Set objMessage = CreateObject("CDO.Message")
objMessage.subject = "My Subject Line"
objMessage.From = ="(e-mail address removed)"
objMessage.To = ="(e-mail address removed)"
objMessage.TextBody = ="My body text here."
objMessage.Send
This works better on my system. It does not give me the security prompt
either. However, this same code on another persons computer does not do so
well.
Dennis
Hi Dennis
In Outlook code you can use
..SentOnBehalfOfName = """SenderName"" <
[email protected]>"
In Outlook 2007 you can change the account
http://www.rondebruin.nl/mail/account.htm
--
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
Does anyone know a way to setup a "Reply-To" email address in MAPI/VBA
constructed emails??
Dennis