Difficulty Sending Mails

Status
Not open for further replies.

partham

Active member
Joined
Dec 27, 2005
Messages
41
Location
Kolkata, India
Programming Experience
10+
Dear Sir,

I am able to send mails through my system as long as the mail id is within our Exchange Server. When I try to send the mail to any other address like my HOTMAIL address, I get the following exception:

"Could not access 'CDO.Message' object." String

The stack trace is

" at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args)
at System.Web.Mail.CdoSysHelper.Send(MailMessage message)
at System.Web.Mail.SmtpMail.Send(MailMessage message)
at EMAIL.SendAttachment(String strSender, String strRecipient, String strAttachmentFileName) in C:\Utilities\GeneralPurposeTools\EMAIL.vb:line 144" String


I would be grateful for your advice.

Regards,
Partha.
 
partham, please respond if you have resolved your issue with the fix b/c I am curious myself. Did the site JohnH gave you have a fix for you? I reviewed it and it was pretty detailed.
 
Dear Sir,

I am still trying. Now I am getting the exception (inner exception)

"The specified protocol is unknown."


I am going through the site to see I can find something. However, I am puzzled as I am using the SMTPMail class.


Regards,
 
Status
Not open for further replies.
Back
Top