Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am using ASP.NET 2.0 with C#.NET.

In my application, when client completes his shopping email will go to user. This works fine when the internet connection is working fine.
If there is some problem in the internet connection, if one mail stops then all the mails will be stopped even though the internet works fine.

How to resend the emails using SMTP server? Is there any option to resend the emails automatically when internet works fine?

Can you give an example which would help me?
Posted
Updated 27-Aug-10 7:45am
v3
Comments
Sandeep Mewara 26-Aug-10 13:13pm    
You must be getting some error or so. Post it here. For now, looks like a queue interrupted and email header corrupt.

1 solution

"C:\Inetpub\mailroot\Queue"

You might be having two many messages in the above mentioned path.

You probably need to check your SMTP server. Firstly make sure it is running and then check its permissions or whether it needs authentication. Sometime if an address does not have an MX record, this can cause a problem.

You should also try deleteing the first messages as they may be blocking up the queue. Also check that the e-mail address actually exists.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900