14Apr
Configuring Email Settings in Web.Config When hosting with GoDaddy Web Hosting
When you are using GoDaddy as you web hosting provider, there are no clear instructions on how to configure email settings in Web.config.
He are a simple set of instructions that can get you started .
There are two different scenarios here.
- You are hosting with GoDaddy (Does not matter where your domain is registered)
- When you have your domain name registered with GoDaddy and using different hosting provider but are using GoDaddy Email servers.
For Scenario 1: (You web site is hosted with GoDaddy)
1: <system.net>
2: <mailSettings>
3: <smtp from="noreply@YourDomain.com">
4: <network host="relay-hosting.secureserver.net" port="25"/>
5: </smtp>
6: </mailSettings>
7: </system.net>
- Replace “YourDomain.com” in above snippet with your own domain name.
- You do not need to provide any user name or password.
- But you should already have a catch all email account / default email account that GoDaddy uses to relay the emails.
Note: Its the same settings you should use even when sending emails from Code Behind in ASP.Net
If you use the mail() function in your PHP, you do not need to specify an outgoing mail server. If you are using some other method besides mail() in your PHP code, use relay-hosting.secureserver.net for your relay server.
For Scenario 2: (Your Email is GoDaddy, but Web site hosted elsewhere)
1: <system.net>
2: <mailSettings>
3: <smtp from="noreply@YourDomain.com">
4: <network host="smtpout.secureserver.net" userName="*******" password="*******" />
5: </smtp>
6: </mailSettings>
7: </system.net>
Side Note: (Applies to both the above Scenarios) Smtp relay server settings might change any time. So, just to verify your correct relay server settings use the below method.
To Check Your SMTP Relay Settings in GoDaddy Hosting account
- Log in to your Account Manager.
- Under My Products, click Email.
- Next to the account you want to use, click Manage Account. If a pop-up appears, click View All. The Email Control Center displays.
- Click the email account name you wish to work with, (for example, jane@coolexample.com).
- In the SMTP Relaying section, check the number of relays selected per day. If necessary, you can change this setting.
- Click OK.
Happy Emailing..
Ctrl+F5

22 Responses to Configuring Email Settings in Web.Config When hosting with GoDaddy Web Hosting
Beto
August 2nd, 2010 at 7:56 pm
hi, i have the same problem. My page is using maddog and they told me that I have to use relay-hosting.secureserver.net for my relay server.
but i dont know where write it code. Inside my .php file? In my .fla?
My php is using the method mail (). My file .fla valid the form and my file .php should send it, but the message never reaches the account
(this mailbox also is hosted in Maddog).
I´m sure the file form are ok because it is working in other servers.
I hope you can help me.
thanks
Gaurav Yadav
August 6th, 2010 at 11:38 pm
test
Chris
February 18th, 2011 at 9:20 am
Where exactly do I utilize this code? I am not sure where that file is or how to access it. I am just trying to get my custom form to work with GoDaddy’s relay server on a Windows host server. They keep telling me set the relay server to relay-hosting.secureserver.net, but I have no clue where or how to do that.
Janean Gazitano
March 18th, 2011 at 9:42 am
As being a Beginner, I am always searching online for content that can support me. Thank you Wow! Thank you! I often desired to write in my web site some thing like that. Can i get part of one’s post to my weblog?
badpix
April 15th, 2011 at 4:02 pm
как прочитать чужие смс ки быстрое питание узнать номер телефона по адресу в санкт-петербурге, сайты смс перехвата база данных телефонов поиск местонахождения абонента по номеру мобильного телефона астрахань, определить местонахождение по мобильному жена рисовая диета навйти адрес по телефонному номеру, как узнать адрес по номеру телефона в чебоксарах набор веса база данных о клиентах мегафона, узнать адрес по номеру телефона в ульяновске знакомства с людьми поиск вконтактепо номеру телефона
DrZyrox
April 28th, 2011 at 11:54 am
I like the exmple given, but I am working with a core that was built for me, and no mater what I do I am still not getting emails to send.
I have tried different configurations and even tried to remove the port and still no message sent from my forms is going through. This is true with any of the forms using email on the site.
fdd
May 30th, 2011 at 2:29 am
dfd
Balenciaga bag
July 13th, 2011 at 3:16 am
It would harden best to ro together with your treating postpartum depression without needing paxil in case you are secured regarding it.
chiropractor in denver
August 8th, 2011 at 2:57 pm
Can I just say what a relief to find someone who actually knows what theyre talking about on the internet.
Francis Dabarera
September 8th, 2011 at 4:52 pm
I have hosted with Godaddy. My forms on the website were working fine. Sudenly, My forms are not working and Im getting following errror.Possible reason: your host may have disabled the mail() function..
I called the suppotr line and they they are telling to use relay-hosting.secureserver.net”
Im not sure What file needs to be modify with relay-hosting.secureserver.net
Thanks
Arlinda Mumpower
September 21st, 2011 at 8:32 am
Thanks for making me to acquire new suggestions about desktops. I also have belief that one of the best ways to help keep your notebook in excellent condition is to use a hard plastic case, as well as shell, that fits over the top of one’s computer. A majority of these protective gear are generally model targeted since they are manufactured to fit perfectly above the natural outer shell. You can buy all of them directly from the seller, or from third party places if they are available for your laptop computer, however not all laptop may have a cover on the market. Yet again, thanks for your guidelines.
Wayne
October 23rd, 2011 at 4:18 am
I used “relay-hosting.secureserver.net” for my web email but it worked only for two days. Now every time I test sending an online message it all failed.
Has the relay hosting changed? I didn’t buy email service on godaddy. I used their domain and hosting service.
Could you please help?
R osorio
December 27th, 2011 at 9:04 pm
godaddy send an example to me but it is in C# i am working in vbscrip
This is my code
this it is the goddady example
// language — C#
// import namespace
using System.Web.Mail;
private void SendEmail()
{
const string SERVER = “relay-hosting.secureserver.net”;
MailMessage oMail = new System.Web.Mail.MailMessage();
oMail.From = “emailaddress@domainname”;
oMail.To = “emailaddress@domainname”;
oMail.Subject = “Test email subject”;
oMail.BodyFormat = MailFormat.Html; // enumeration
oMail.Priority = MailPriority.High; // enumeration
oMail.Body = “Sent at: ” + DateTime.Now;
SmtpMail.SmtpServer = SERVER;
SmtpMail.Send(oMail);
oMail = null; // free up resources
}
pueden ayudarme? They can help me
R osorio
December 27th, 2011 at 9:05 pm
// language — C#
// import namespace
using System.Web.Mail;
private void SendEmail()
{
const string SERVER = “relay-hosting.secureserver.net”;
MailMessage oMail = new System.Web.Mail.MailMessage();
oMail.From = “emailaddress@domainname”;
oMail.To = “emailaddress@domainname”;
oMail.Subject = “Test email subject”;
oMail.BodyFormat = MailFormat.Html; // enumeration
oMail.Priority = MailPriority.High; // enumeration
oMail.Body = “Sent at: ” + DateTime.Now;
SmtpMail.SmtpServer = SERVER;
SmtpMail.Send(oMail);
oMail = null; // free up resources
}
R osorio
December 27th, 2011 at 9:06 pm
Bakugan Allegro
January 4th, 2012 at 1:34 pm
Wow, awesome blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is magnificent, as well as the content!
cleosino
April 27th, 2012 at 12:28 pm
Just specialised medical practitioners really should be managing clients buy soma no prescription Persistent discomfort means something that causes you to struggle to live life in terms that you were previously used to.Ultimately, constant agony can be something that does not vanish entirely after efforts during resolving the issue
corelRino
April 28th, 2012 at 9:29 am
Operate, carefully roll shoulders, research and eat the area adderall online doctor consultation Solutions made it through coming from 20-30 min’s per day, to be able to 5-8 hr a day for 3-4 wk
p
June 7th, 2012 at 1:51 am
opi
free website hosting minecraft dedicated server web hosting forums
December 23rd, 2012 at 12:34 am
Why visitors still use to read news papers when
in this technological globe everything is available on net?
best dedicated servers virtual network minecraft vps
January 30th, 2013 at 4:30 am
It’s wonderful that you are getting thoughts from this post as well as from our dialogue made at this place.
axe
March 20th, 2013 at 12:16 pm
maybe