Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid the 'Choose Profile' while using MAPI ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00220180
Message ID:
00220713
Vues:
21
>Thanks Nigel,
>Your class works great !,
>I have two more questions now:
>What is the difference between CREATEOBJECT("MAPI.Session")
>and CREATEOBJECT("MSMAPI.MAPIMessages.1"), I just know that
>in the first one I don't have the "UserName" and "Password"
>property, that is why I got the "Chose profile" window,
>also in the first one I have to use ObjectName.Logon in the Second
>one you used ObjectName.SignOn.
>
>The second question is :
>If I send e-mail to myself, I have to open outlook to actually
>get a "bleep" or a notice that I have new mail. If I send e-mail
>to somebody else this behavior does not happens, the person gets
>the "bleep" or notice without going into outlook.
>
>Again, thanks for your help and time.

In answer to your first question:

MAPI.Session is the Outlook session (like opening outlook), MAPI.Messages.1 is the message object (like creating a message). You can send as many messages you like in one session.

I don't know about your second question. I can't see how a person gets a notification without email being open as, without it open, they won't know when a message has been received. Unless there is some process open somewhere on their PC.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform