Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Outlook 2000 Profile Through FoxPro
Message
From
08/08/2000 06:21:39
 
 
To
07/08/2000 19:22:22
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00402004
Message ID:
00402128
Views:
14
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform