Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to avoid the 'Choose Profile' while using MAPI ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00220180
Message ID:
00220713
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform