none
Emailing issue in VB code for an asp site

    Question

  • I'm having an issue where the email works perfectly when running the site on my machine, but it fails after it is uploaded.

    I'm getting this exception: System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions 

    I'm attempting to send a test email to myself using my gmail account.

    Help please :)


    Programming is mostly just a hobby for me :)

    Sunday, April 2, 2017 7:20 PM

Answers

  • I just called godaddy and was informed they do not allow smtp protocol. I'll have to use their suggested system instead. 

    Programming is mostly just a hobby for me :)

    Sunday, April 2, 2017 7:54 PM