Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / September 2003

Tip: Looking for answers? Try searching our database.

SMTP Mail

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Harrison - 25 Sep 2003 14:54 GMT
Has anyone had any issues repeatedly sending SMTP e-mails from .Net?

I have a c# component that gets executed by multiple threads, and uses
SmtpMail.Send to send e-mails. Whilst in 80% of cases this works fine, I
sometimes get "Could not access 'CDO.Message' object" errors

The code in question is running as an AIC component under BizTalk.

The call stack is:
System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String
methodName, Object[] args)
System.Web.Mail.CdoSysHelper.Send(MailMessage message)
System.Web.Mail.SmtpMail.Send(MailMessage message)

Thanks.
Kev.
Randy Charles Morin - 25 Sep 2003 20:00 GMT
I ran into too many similar issues myself and decided that my own Smtp
class was in order.
http://www.kbcafe.com/articles/HowTo.SMTP.CSharp.pdf

Randy
http://www.kbcafe.com

> Has anyone had any issues repeatedly sending SMTP e-mails from .Net?
>
[quoted text clipped - 12 lines]
> Thanks.
> Kev.
Bill - 26 Sep 2003 14:37 GMT
You could also try http://www.freesmtp.net

> I ran into too many similar issues myself and decided that my own Smtp
> class was in order.
[quoted text clipped - 19 lines]
> > Thanks.
> > Kev.
Zane Thomas [.NET/C# MVP] - 27 Sep 2003 19:59 GMT
Randy,

Perhaps my quick scan of your article missed something.  But it appears that you
don't handle timeouts or the fact that an SMTP response line may arrive in two
separate chunks (reads).  While the former problem is obvious when it occurs the
latter results in random protocol failures which are difficult to diagnose.

Signature

          Abderaware
   Fine Components For .NET
  Turn on, tune in, download.
    zane a@t abderaware.com

Kishor - 29 Sep 2003 07:09 GMT
Hi,

I also used this object to send and receive emails. I am able to send and
receive mails successfully. But I faced one problem, which I would like to
share with you. If you people have a better suggestions please let me know.

I have used VB.net language to send and receive mails. Mail body format was
HTML.

My problem was to send and receive mail in HTML format. Which contained
Images and text.  With this I was able to send and receive the HTML text
correctly, however I am not able to display images in the body. I tried
attaching all the images to the messages and specifying the path. But this
also did not worked for me.  It worked only when I receive mail in the
outlook. If I was opening this mail on web based interface I was not able to
see images. Path which missing images was showing and the path of attachment
was different on different server.

I also have seen so many components, which are capable of doing this. But
they are not free. So I would like to request you if you know the solution
please help me.

Regards,

Kishor

> Has anyone had any issues repeatedly sending SMTP e-mails from .Net?
>
[quoted text clipped - 12 lines]
> Thanks.
> Kev.
Kumar Gaurav Khanna [.NET MVP] - 29 Sep 2003 07:19 GMT
Hi!

Check out CSLMail at

http://www.wintoolzone.com/showpage.aspx?url=dotnet.aspx?show=components

Regards,
--------------------------------------------------
Kumar Gaurav Khanna
Microsoft MVP - .NET, MCSE Windows 2000/NT4, MCP+I
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
OpSupport - Spelunking Rotor
http://opsupport.sscli.net/

> Hi,
>
[quoted text clipped - 38 lines]
> > Thanks.
> > Kev.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.