>>Hello everybody,
>> I have to use MAPI to send e-mail and I keep getting a window that
>>pops up asking me to choose the "Profile", how can I avoid that?
>>
>>=THIS.Thanks("in advance.")
>
>Look in the files section, classes. I've got a class in there for sending MAPI messages. You'll find the property info in there. Basically, you feed the session object your profile name and password. Assuming you know these?
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.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould