Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
E-Mail enable an application
Message
From
02/05/2001 10:45:41
 
 
To
All
General information
Forum:
Visual Basic
Category:
Windows API functions
Title:
E-Mail enable an application
Miscellaneous
Thread ID:
00502518
Message ID:
00502518
Views:
62
Hello

I am trying to write a class module that someone can reference in their applications to E-Mail it.

I downloaded a sample application that I found on the Internet that uses the MAPI controls that come with Visual Basic 5.0.

In my class module, I have a method called Logon, where the user will pass in their Username and Password which I believe is the same username and password that you use to get you E-Mail with.

I set the username and password properties of the MAPI session control
and then invoke the SignOn method to create a session that I can use to send and recieve E-Mail messages.

When I do this, a dialog box displays stating that the Profile name is not valid, and to enter in a valid Profile name.

When I click OK, I am then prompted to select a profile, the default being
'Microsoft Outlook Internet Settings'.

What is going on here? all I am trying to do is logon so that I can create a session so that I can send out E-Mail.

What exactly is a profile, is it a user profile?, or is it a profile that is specific the the E-Mail system that is being used.

Here at work we are using SMTP for sending out E-Mails, and POP3 for recieving E-Mails.

So, since we are using the internet for sending and recieving out E-Mail messages can I still use the MAPI controls, or should I use the winsock control
to send and recieve e-mail messages via the internet.

Thank You

Gary
Next
Reply
Map
View

Click here to load this message in the networking platform