Home » Asp.net

smtp with godaddy problems

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", "Zvijezda")

            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 


3 Answers Found


Answer 1

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


Answer 2

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 ?


Answer 3

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.




<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure