hai i use the localhost or 127.0.0.1 for sending the mail in asp.net with c# coding!! the coding run successfully. the message was displayed that the mail send successfully. but in my mail, i'm not recieve any new mail. could you please help me for that???
+4
A:
Without seeing any code, it's hard to say exactly what's going on. There are two obvious possibilities:
- Your code to send the mail could be broken, failing to notice errors
- Your server may not be configured properly to send mail
It's probably worth trying the second idea first. If you use a standalone mail client (e.g. Thunderbird) and set the SMTP server to your ASP.NET server, can you send mail to yourself that way? Have you deliberately set up the server to work properly as an SMTP server?
Jon Skeet
2010-03-30 06:00:31
@sribharanidharan: That's clearly not your actual code, as the case is all wrong. If you're not cut and pasting the actual code, you may have missed out the error. Also I would suggest you edit your question instead of posting large amounts of code in a comment. I don't know anything about Outlook Explorer, but look in the account settings - it shouldn't be too hard to find the SMTP server setting.
Jon Skeet
2010-03-30 06:35:12
okay thank you!! i just typed the coding for your view thats why its seems like this!! now i'm in TCS i'm doing proj for them! any way thanx jon
sri
2010-03-30 06:43:50