Reputation: 111
I am trying to send message from server email to my gmail
WebMail.SmtpServer = "mail.marekjedrysiak.com";
WebMail.SmtpPort = 25;
WebMail.EnableSsl = true;
WebMail.UserName = "[email protected]";
WebMail.Password = "******";
WebMail.From = "[email protected]";
WebMail.Send("[email protected]", "Message from server",null);
then coming this message :
Please help :(
Upvotes: 0
Views: 69
Reputation: 319
This isn't an ASP.NET or C# related problem, your domain doesn't have an MX record. You can confirm this by checking http://www.mxtoolbox.com.
I see that your domain is registered with Tucows (Hover). In order to change your MX records:
If you need more help setting up or debugging your mail service, you should contact Hover's support. They can also advise you on what exactly to enter as the address of your mail server.
Upvotes: 2