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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending mail through VB

Status
Not open for further replies.

DaveMere

Programmer
Nov 24, 2003
20
GB
Hi,

I've been trying to find a way of sending emails automatically through VB, and I've been usign the MAPI functionality. Initially the system crashed because of a lack of a certain mapi32.dll file, which I have since located and copied to my C drive. Now however when I run the line

.MAPISession.SignOn

the error '48389' is generated. VB offers no explanation of what this error is and there are no associated help files. Does anyone out there know what this error means / how I can fix it?

Thanks,

DaveMere
 
Outlook is probably not set as your default email application. Try going into Outlook options (not sure which one from the top of my head) and setting Outlook as your default. If it does not work, try disabling any other email client you may have loaded in your machine.

Dimandja
 
Ah right. We actually use Pegasus Mail. Is there anyway I can set up MAPI commands to use Pegasus or has Microsoft got me?
 
Yes, I can imagine all the Nuns who read this forum are most offended by my foul language.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top