How To Send Godaddy SMTP eMail Setup Host & Port (, c#)

How To Send Godaddy SMTP eMail Setup Host & Port (, c#)

shared hosting email sending limits

#emailcsharp #smtpemail
Now ! send eMails from your website on GoDaddy hostings, the code is given below…

Godaddy SMTP host :-
PORT :- 25


using System.Net;
using System.Net.Mail;


MailMessage msg = new MailMessage();
msg.From = new MailAddress(TxtEmail.Text);
msg.To.Add(“[email protected]”);
msg.Subject = TxtSub.Text;
msg.Body = TxtMsg.Text;
msg.IsBodyHtml = true;
// MailMessage instance to a specified SMTP server
SmtpClient smtp = new SmtpClient(“”, 25);
smtp.Credentials = new System.Net.NetworkCredential(“yourgodaddyemailusername, “godaddyemailpassword”);
smtp.EnableSsl = false;

// Sending the email
// destroy the message after sent
LitMsg.Text = “Thanks for email us.. will get back ASAP..!”;
TxtEmail.Text = “”;
TxtMsg.Text = “”;
TxtSub.Text = “”;
TxtName.Text = “”;

17 thoughts on “How To Send Godaddy SMTP eMail Setup Host & Port (, c#)

  1. A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

    I m getting this type of error ? How to solve ? Help me out !!

  2. Awesome video. Thanks. I got mine to work. My question references "smtp.EnableSsl = false". Does this mean godaddy is not secure? I used outlook live, and they require ssl. Does godaddy relay email in plain text? Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *