Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Outlook 2000 Profile Through FoxPro
Message
From
08/08/2000 19:00:16
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
08/08/2000 06:21:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00402004
Message ID:
00402579
Views:
10
Hi Matt,

Thanks for the code, I tried it but it brings up the default mailbox ( E.g whoever you're logged onto the network as ).

Thanks,
Gavin...

>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