469,323 Members | 1,468 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

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 1445
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.