I send two emails in ASP.net, one to the [email protected] and the other, an email account I set up: [email protected]. I receive the emails sent to [email protected] but I don't get the emails sent to [email protected]. I've tried hard coding the email address in my email program. And, I've also tried including it in the config file. Both have been to no avail. These are the specific code: MailAddress mdFrom = new MailAddress(sFrom); MailAddress mdTo = new MailAddress(ConfigurationManager.AppSettings ["FoodManager2"].ToString()); MailMessage lobjMailMsg = new MailMessage(mdFrom, mdTo); And: MailAddress mdFrom = new MailAddress(sFrom); MailAddress mdTo = new MailAddress([email protected]); MailMessage lobjMailMsg = new MailMessage(mdFrom, mdTo); Please advise. Thanks.
Are you getting any bounce back messages when you send email to [email protected]? Can you send email to [email protected] using Outlook or some other tool?
No error messages. And, no, I can't send an email from my personal Outlook to [email protected]. But, neither can I send an email to [email protected]!
Sorry. The receipt of the email just took a long time. I've successfully sent emails to both postmaster and [email protected] from my Outlook.
Try disabling greylisting on [email protected] for now. Try looking at these kb articles http://support.Winhost.com/KB/a550/what-is-greylisting.aspx http://support.Winhost.com/KB/a553/how-to-bypass-greylisting-in-smartermail.aspx If [email protected] forwards to another email address, try dropping that for now and simply keep the email in [email protected] as a test.