472,101 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,101 software developers and data experts.

SmtpMail Attachment Error

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
3 1538
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
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
"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.

Similar topics

8 posts views Thread by Jason | last post: by
reply views Thread by Jason | last post: by
2 posts views Thread by Arthur Carré | last post: by
9 posts views Thread by Russell Stevens | last post: by
reply views Thread by Mike Caputo | last post: by
reply views Thread by =?Utf-8?B?ZGlub28=?= | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.