Showing results for 
Show  only  | Search instead for 
Did you mean: Unable to send mails though godaddy relay setings

Hey guys!

I am unable to make my contact form send an email. I am using the godaddy relay smtp settings (shown below). but nothing works. I am not getting an error it just looks like the mail should have been sent but i doesnt. 


If i change the smtp host to i am able to make the contact form send an email when hosting the site locally but the issue is the same when trying the hosted site. 


my code:


      <smtp from="">
        <network host="" port="25"/>


 MailMessage msg = new MailMessage();
                msg.To.Add(new MailAddress(TextBoxEmail.Text));
                MailAddress mailAddress = new MailAddress("");
                msg.From = mailAddress;
                msg.Subject = "This is a Test Mail";
                msg.Body = "This is a test message";
                msg.IsBodyHtml = true;

                SmtpClient client = new SmtpClient();
                client.Port = 25;
                client.Host = "";
                client.UseDefaultCredentials = false;
                client.Credentials = new NetworkCredential("", "password");
                client.DeliveryMethod = SmtpDeliveryMethod.Network;
                client.EnableSsl = false;


I really hope you guys can help me out here because the support unfortunetly cant.