By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,600 Members | 1,683 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,600 IT Pros & Developers. It's quick & easy.

SmtpMail Attachment Error

P: n/a
I am trying to send an attachment using SmtpMail. I am
able to send an Excel or text file, but when I try to
send a pdf file, it throws an exception: could not access
CDO.Message object. The file size is about 1.92 MB. I was
wondering what could be the factors that result in such
an exception. I am using C# .Net and Windows XP Pro.

Thanks,

Jimmy
Nov 15 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Is the 1.92 MB file the largest file you've tried to send as an attachment?
Has anything larger gone through? My gut tells me its some kind of timeout
(or something of the like) issue.

"Jimmy" <an*******@discussions.microsoft.com> wrote in message
news:03****************************@phx.gbl...
I am trying to send an attachment using SmtpMail. I am
able to send an Excel or text file, but when I try to
send a pdf file, it throws an exception: could not access
CDO.Message object. The file size is about 1.92 MB. I was
wondering what could be the factors that result in such
an exception. I am using C# .Net and Windows XP Pro.

Thanks,

Jimmy

Nov 15 '05 #2

P: n/a
It's not the file size, I have successfully sent >10 MB through SmtpMail..

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #3

P: n/a
"CDO.Message"....

Does this mean SmtpMail uses CDO ? So do i need a 'cdo' provider like
outlook to send email from a c# application ?

Is there a class not using CDO that would provide smtpmail support ?
Regards,
Cybertof.

In article <037001c3a72c$9ed67400 $a*******@phx.gbl>,
an*******@discussions.microsoft.com says...
I am trying to send an attachment using SmtpMail. I am
able to send an Excel or text file, but when I try to
send a pdf file, it throws an exception: could not access
CDO.Message object. The file size is about 1.92 MB. I was
wondering what could be the factors that result in such
an exception. I am using C# .Net and Windows XP Pro.

Thanks,

Jimmy

Nov 15 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.