473,395 Members | 1,652 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,395 software developers and data experts.

ASP.NET 2.0 SMTP LocalHost

K B
Hi, I'm using the following to send SMTP email from my localhost. I've
ensured that the relay is allowed, etc. I have a Try Catch block. There
is NO error thrown, no mail in C:\inetpub\mailroot\badmail folder.

However the message never arrives in my recipient mailbox.

Any suggestions for troubleshooting this is appreciated. With no error,
I don't know where to look.

Thanks,
Kit

*** Sent via Developersdex http://www.developersdex.com ***
Apr 2 '06 #1
2 1524
I don't know where to look either. Can you send some source code?

Something else to check: Are there files in the Queue and Pickup
subdirectories under MailRoot?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"K B" <ka**********@comcast.net> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
Hi, I'm using the following to send SMTP email from my localhost. I've
ensured that the relay is allowed, etc. I have a Try Catch block. There
is NO error thrown, no mail in C:\inetpub\mailroot\badmail folder.

However the message never arrives in my recipient mailbox.

Any suggestions for troubleshooting this is appreciated. With no error,
I don't know where to look.

Thanks,
Kit

*** Sent via Developersdex http://www.developersdex.com ***

Apr 3 '06 #2
I have 1.1 and 2.0 code for emails at my blog

spaces.msn.com/sholliday/

Check the /queue folder. .to see if they're stuck there.

search google for "smart host" if you find the emails are stuck in that
mailroot\queue folder.


"K B" <ka**********@comcast.net> wrote in message
news:uh*************@TK2MSFTNGP10.phx.gbl...
Hi, I'm using the following to send SMTP email from my localhost. I've
ensured that the relay is allowed, etc. I have a Try Catch block. There
is NO error thrown, no mail in C:\inetpub\mailroot\badmail folder.

However the message never arrives in my recipient mailbox.

Any suggestions for troubleshooting this is appreciated. With no error,
I don't know where to look.

Thanks,
Kit

*** Sent via Developersdex http://www.developersdex.com ***

Apr 8 '06 #3

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

Similar topics

2
by: Mike Obiku | last post by:
First of all, I'm new to PHP. For my website I have some PHP scripts to run a photo database. New users have to register them selfs. After registring the new user is getting an e-mail maid by an...
9
by: Bob Jones | last post by:
We have developed a commercial ASP.net application (personal nutrition management and tracking); we want to send smtp email from within it. For our development box, we use WinXP Pro, IIS 5.5,...
1
by: michi | last post by:
Hi there.... Got here a tricky thing with my SMTP. First I show you what works on my machine.. **This Works** SmtpMail.SmtpServer = "mail.gmx.net" <-gmx is my mail provider...
5
by: universalbitmapper | last post by:
Hi, I'm trying to send an e-mail from a .php script and ie6 returns this error: Warning: mail() : Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port"...
6
by: John Salerno | last post by:
If I want to write a cgi script that reads the contents of an HTML form and emails it to me, what would I use as the host parameter for my SMTP instance? The example in the docs is 'localhost', but...
3
by: Robert Dufour | last post by:
I've got code doing that that should work and I've tested doing that with a program called smtp diagnostics. In both cases if I use my outside e-mail provider account with login username and...
2
by: daokfella | last post by:
I'm having trouble using localhost to test the e-mail functions in my application. I keep getting the following error when sending mail: "Unable to read data from the transport connection: An...
5
by: Carmine [www.thetotalsite.it] | last post by:
Hi everyone, I get a really odd error while using SMTPClient.Send() function in ASP.Net. The error is the following: Dim smtp As New Net.Mail.SmtpClient("smtp.thetotalsite.it", 25) Dim bodyMSG...
5
by: zxo102 | last post by:
Hi, I am trying to use python module smtplib to send my email out on window xp (localhost). import smtplib server = smtplib.SMTP('localhost') but I got the error information as follows: ...
20
by: remohy1 | last post by:
how could i configure my local smtp to be able to send eamails via it?? and can i send emails from my yahoo mail or gmail via my local smtp?? that yahoo and gmail have a limitation per day sending...
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
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.