473,378 Members | 1,119 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

smtpmail

Had an issue with the stmpmail class (under System.Web.Mail namespace,
v1.1 framework).
All of a sudden the emails were not getting sent in our production box
(OS - Windows 2000). Found that after the smtpmail.send method was
called, no exception was raised. So it did not send any emails
neither did it throw an exception (which it should have). So after
the 'send' method was executed, the program just hung up. We are on
v1.1 of the framework, so cannot use the new v2.0 System.Net.Mail
classes. After the server was rebooted, it started working.

My question is -
1. If no exception is raised, how do you debug in such a situation.
2. Are their any other classes in v1.1 that can be used for reliable
emailing.
Any other comments welcome.

Thanks.

Taps.

Feb 5 '07 #1
1 1119
Today I was researching something related to this and I came accross a
pretty good article on the internet. This article explain how you could send
an email without use that class - and without use the CDO, so the code works
anywhere.

The link to that is http://www.eggheadcafe.com/articles/20030316.asp.

--
Regards,
Robson Siqueira
Enterprise Architect
"Taps" <ta*****@gmail.comwrote in message
news:11**********************@v33g2000cwv.googlegr oups.com...
Had an issue with the stmpmail class (under System.Web.Mail namespace,
v1.1 framework).
All of a sudden the emails were not getting sent in our production box
(OS - Windows 2000). Found that after the smtpmail.send method was
called, no exception was raised. So it did not send any emails
neither did it throw an exception (which it should have). So after
the 'send' method was executed, the program just hung up. We are on
v1.1 of the framework, so cannot use the new v2.0 System.Net.Mail
classes. After the server was rebooted, it started working.

My question is -
1. If no exception is raised, how do you debug in such a situation.
2. Are their any other classes in v1.1 that can be used for reliable
emailing.
Any other comments welcome.

Thanks.

Taps.

Feb 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jason | last post by:
Hi just a really quick simple question. Can you configure SmtpMail class in C# to use a different port? or does it have to be port 25? Thanks Jason
2
by: Leszek | last post by:
Hello, I have created a simple code to send emails using the MailMessage class and the SmtpMail.Send() method: MailMessage mail = new MailMessage(); mail.From = echidna@somewhere.com; //...
5
by: ElanKathir | last post by:
Hi ! I wrote one code for Send the E-mail, But that code have some problem , So please help me Here i paste my code and Error: Error: Server Error in '/Elan_Sample' Application. ...
2
by: Edward | last post by:
Hello, everybody, I tried to send Email out using ASP.NET, but failed, here is the code of sending: -------------------------------------------------------------------------------- Try...
1
by: Jens Øster | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
3
by: Jens | last post by:
Hi I am writing a ASP.NET web application that must sent some e-mails. I get the exception “Could not access 'CDO.Message' object” when I call SmtpMail.Send. This only happens when I send...
4
by: Aren Cambre | last post by:
Why does SmtpMail.Send throw an exception if the MailMessage's BodyFormat = MailFormat.Html? I've searched all over the place and cannot find a solution anywhere. I am running this on Windows XP...
2
by: kmbarz | last post by:
I'm trying to expand my horizons here by working through an ASP.Net book. When I do the example that uses: Line 55: Mail.From = "feedback@graymad.com" Line 56: ...
3
by: aslantifosi | last post by:
hi all, My question is about that i use a smpt server which is running on a different machine from my webserver machine. And i can authenticate with a user and password. I use SmtpMail class. i...
19
by: zdrakec | last post by:
Hello all: Using an "Imports System.Web.Mail" clause at the head of my module, and after executing the following code: Dim msg As New MailMessage msg.From = sender msg.To = recipient...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.