Forcing From Field in Email (1 Viewer)

AnnaFoot

Registered User.
Local time
Today, 05:02
Joined
Dec 5, 2000
Messages
51
Hello,

I have a system that has been working quite happily, sending a set of emails to the correct set of people at the push of a button.

My client has just had an exchange server installed, and apparently what now happens is that the from address, that is on the email that is sent, is determined by the user currently logged into the computer used to generate the emails.

Is it possible to force the from address field, as it is possible to force the to address field?

Currently i set the following up:
Set EmailApp = CreateObject("Outlook.Application")
Set NameSpace = EmailApp.getNameSpace("MAPI")
Set EmailSend = EmailApp.CreateItem(0)

do various calculations etc in code, and then do:

EmailSend.To = strEmail
EmailSend.Subject = strhead
EmailSend.htmlBody = strtext
EmailSend.send

what i'm really hoping is that there is something the equivelent of:
emailsend.from = "Forced from address"

but it isn't that and i don't know where i can find the list of available options.

Any help would be gratefully received!

Thanks,
Anna
 

Users who are viewing this thread

Top Bottom