A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 67.69.240.69:25
Dim smtpClient As New SmtpClient()
Dim message As New MailMessage()
Dim fromAddress As New MailAddress("news@ffff.ca")
smtpClient.Host = "smtp10.bellnet.ca"
smtpClient.Credentials = New NetworkCredential("news", "1235!")
smtpClient.Port = "25"
message.From = fromAddress
message.To.Add("khs@ddddd.com")
message.Subject = "eyjeyjey afsdf"
message.Body = "Hello from aaaaa"
message.IsBodyHtml = True
smtpClient.EnableSsl = True
smtpClient.Send(message)
Bell Canada blocks the default SMTP port of 25.
See this link for a partial list.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.