SocketException GoDaddy – Solved Issue Plesk Sending Mails

Okay. Yesterday I was stuck in SocketException on Plesk panel using Godaddy.com service. The solution was rather easy. It is detailed on here. To solve this issue: In your code use the below SMTP configuration: code: String message = “Name:\r\n”+Name+”Message:”+Message+”\r\n”; MailMessage mail = new MailMessage(); mail.From = new MailAddress(“from@email.com”); mail.To.Add(new MailAddress(“to@email.com”)); mail.Subject = “Enquiry for […]

Read More