I am not currently hosted with GoDaddy with my nopCommerce site, however I do have a few other websites hosted with GoDaddy that I had to overcome this problem with... Please excuse the VB, but you'll get the picture...
The point is, it all depends on what server you are using... relay-hosting.secureserver.net does not require a password or a specific port as their other servers require 478 or 3535....
I hope this helps. It works for me.
Jose
'With these imports...
Imports System.Net.Mail
Imports Microsoft.VisualBasic
Imports System
Imports System.Data
Imports System.Web
'You can use this function...
Private Function SendMail() As Boolean
Try
Dim SMTP As New SmtpClient
Dim MailMsg As New MailMessage
Dim MailFrom As New MailAddress("
[email protected]")
Dim MailTo As New MailAddress("
[email protected]")
Dim HostServer As String = "relay-hosting.secureserver.net"
MailMsg.From = MailFrom
MailMsg.To.Add(MailTo)
MailMsg.Subject = "Enter Your Subject Line Here"
MailMsg.Body = "Enter Your Body Here"
MailMsg.IsBodyHtml = False
MailMsg.Priority = MailPriority.High
SMTP.Host = HostServer
SMTP.Send(MailMsg)
SendMail = True
Catch ex As Exception
SendMail = False
End Try
Return SendMail
End Function