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!

Problem with mail object

Status
Not open for further replies.

James1981

Programmer
Nov 2, 2002
76
US
Hi I'm using the mail object to send an email but am receiving am catching an error... I'm using the following code:

Code:
try
{
   SmtpMail.Send(newMail);
}
catch (Exception exError)
{
   return exError.ToString();
}

The code above is raising the following exception:
Could not access 'CDO.Message' object.

Has anyone had this problem before?

Cheers
James.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top