Hi Gavin,
> Does anyone know of a way to change the FROM address of an Email in Outlook 2000 using automation? The reason that I need to do this is that I have written an Email blast module that will be used to distribute marketing information to clients and instead of the users Email address I want another address to be shown as the originator of the Email. E.g if JohnSmith is logged in I don't want to use his profile but I'd like to use another profile.
I think you can logon as another profile e.g.:
#DEFINE olFolderInBox 6
olookApp = CreateObject("Outlook.Application")
olookSpace = olookApp.GetNamespace("MAPI")
olookSpace.Logon("Matt McQueen")
olookSpace.GetDefaultFolder(olFolderInbox).Display
Please tell me if that helps.
Best.
Matt.