Last post Sep 23, 2010 06:48 PM by godly83
Sep 13, 2010 03:13 PM|Zoran_Savic|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("email@example.com", "*******")
smtp.Port = 3535
smtp.Host = "smtpout.secureserver.net"
smtp.EnableSsl = True
smtp.EnableSsl = False
smtp = Nothing
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
Sep 13, 2010 07:59 PM|hans_v|LINK
but im guessing that goddady is the problem in this case
Wouldn't it make more sense to ask Godaddy for help when you think this?
I think the port should be 25, not 3535
Sep 14, 2010 02:03 PM|Zoran_Savic|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 ?
Sep 23, 2010 06:48 PM|godly83|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