ASP.NET 2003 Mail Problem
-
MailMessage mm = new MailMessage(); mm.To = txt_Email.Value.Trim(); mm.Priority = MailPriority.High; mm.From = "mycompname@mydomain.com"; mm.Subject = "Hi "+ txt_FirstName.Value.Trim() +" , Thank you for registering."; mm.BodyFormat = MailFormat.Html; mm.Body = sbMail.ToString(); But this is not working for yahoo.com,co.uk, and Rediffmail.com.rediff.com. the mail is bouncing back and in yahoo goin in bulk /Spam Folder.
Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...
-
MailMessage mm = new MailMessage(); mm.To = txt_Email.Value.Trim(); mm.Priority = MailPriority.High; mm.From = "mycompname@mydomain.com"; mm.Subject = "Hi "+ txt_FirstName.Value.Trim() +" , Thank you for registering."; mm.BodyFormat = MailFormat.Html; mm.Body = sbMail.ToString(); But this is not working for yahoo.com,co.uk, and Rediffmail.com.rediff.com. the mail is bouncing back and in yahoo goin in bulk /Spam Folder.
Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...
Which is your SMTP server ? Is it "localhost" ? Try authenticating your SMTP server before you send. Check this[^]
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
Which is your SMTP server ? Is it "localhost" ? Try authenticating your SMTP server before you send. Check this[^]
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
MailMessage mm = new MailMessage(); mm.To = txt_Email.Value.Trim(); mm.Priority = MailPriority.High; mm.From = "mycompname@mydomain.com"; mm.Subject = "Hi "+ txt_FirstName.Value.Trim() +" , Thank you for registering."; mm.BodyFormat = MailFormat.Html; mm.Body = sbMail.ToString(); But this is not working for yahoo.com,co.uk, and Rediffmail.com.rediff.com. the mail is bouncing back and in yahoo goin in bulk /Spam Folder.
Never Think That You Have Failed Instead Always Think That u hav Better Chance Next Time...
ViReNdrA KuMaR KoHli wrote:
mm.From = "mycompname@mydomain.com";
Please tell me you are actually replacing that line with a valid SMTP server. If it's bouncing back it's because you don't have access to the SMTP server. If is's public mail that's probavly because it doesn't support it. As for the yahoo, if it's going in the spam folder... well than it is working.
I'm going to become rich when I create a device that allows me to punch people in the face over the internet. "If an Indian asked a programming question in the forest, would it still be urgent?" - John Simmons / outlaw programmer