i am having problems sending mail off a website i am building. i used the same code with my personal portfolio website, it works fine. but im guessing that goddady is the problem in this case.. here is the code if you guys can help that would be awesome.
Dim smtp As New Net.Mail.SmtpClient("smtpout.secureserver.net")
smtp.Credentials = New System.Net.NetworkCredential("info@nzembroidery.com", "*******")
well the port it self is right, because when im using port 25 i dont get a server desponse at all, and i asked godaddy for help, and they told me to redo all of my code and use cdonts.. yah i have my whole site built, and dont feel like recreating all of
my code for cdonts..
Godaddy SMTP works only in godaddy territory, eg: it works only with godaddy web hosting account, also you can not use godaddy smtp from your localhost.
you can create a webservice for sending emails and host it in godaddy, then you can call this webservice from any where even your localhost for sending email.
sending email via Go daddy smtp from localhostSMTP problem of Godaddy
My boss is a Jewish carpenter, He saved me from the bondage of sin and granted a new privilege to access his Kingdom, and He loves us, because of that He gave His life and whole blood to pay the penalty of our sin. His name is Jesus Christ.
Zoran_Savic
0 Points
2 Posts
smtp with godaddy problems
Sep 13, 2010 02:13 PM|LINK
i am having problems sending mail off a website i am building. i used the same code with my personal portfolio website, it works fine. but im guessing that goddady is the problem in this case.. here is the code if you guys can help that would be awesome.
Dim smtp As New Net.Mail.SmtpClient("smtpout.secureserver.net")
smtp.Credentials = New System.Net.NetworkCredential("info@nzembroidery.com", "*******")
smtp.Port = 3535
smtp.Host = "smtpout.secureserver.net"
smtp.EnableSsl = True
smtp.EnableSsl = False
smtp.Send(mail)
smtp = Nothing
mail.Dispose()
here is what i am getting as an error message
--- " Mailbox name not allowed. The server response was: Sorry, your envelope sender is in my badmailfrom list" ---
thank you in advance
hans_v
All-Star
35998 Points
6551 Posts
Re: smtp with godaddy problems
Sep 13, 2010 06:59 PM|LINK
Wouldn't it make more sense to ask Godaddy for help when you think this?
http://forums.asp.net/t/1522535.aspx
I think the port should be 25, not 3535
Zoran_Savic
0 Points
2 Posts
Re: smtp with godaddy problems
Sep 14, 2010 01:03 PM|LINK
well the port it self is right, because when im using port 25 i dont get a server desponse at all, and i asked godaddy for help, and they told me to redo all of my code and use cdonts.. yah i have my whole site built, and dont feel like recreating all of my code for cdonts..
any advice ?
godly83
Member
233 Points
64 Posts
Re: smtp with godaddy problems
Sep 23, 2010 05:48 PM|LINK
Godaddy SMTP works only in godaddy territory, eg: it works only with godaddy web hosting account, also you can not use godaddy smtp from your localhost.
you can create a webservice for sending emails and host it in godaddy, then you can call this webservice from any where even your localhost for sending email.
sending email via Go daddy smtp from localhost SMTP problem of Godaddy