Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Outlook 2000 Profile Through FoxPro
Message
De
08/08/2000 19:00:16
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
08/08/2000 06:21:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00402004
Message ID:
00402579
Vues:
11
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform