Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another Email Error

Status
Not open for further replies.

drizzt151

Programmer
Aug 10, 2001
5
0
0
US
Hi, I am writing an application that uses email notification. The Code that i have for the MAPI Session is:

With MAPISession1
.DownLoadMail = False
.LogonUI = False
.NewSession = False
.Password = ""
.UserName = "HRCAP"
.SignOn
End With

The Client Machines all use Either MS Outlook 97 or MS Outlook Express 5.0 or higher. I am getting a Logon error on Win98SE machines as well as WIN2K Pro's. The User Name "HRCAP" was place in the the clients mail Profiles. I tried with out this and with out the .Password & .UserName , but i still get get an error. Can some one please help?

Jason
 
Instead of using MAPI you should try to use SMTP. With SMTP it does not matter what the client is using for email you just need to know the ip or name of your SMTP server. There are free downloads(source code) available from Do a search in Visual Basic for sendmail.
I found that SMTP is more stable then MAPI.

Good Luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top