T
Thomas Weise
My app sends a couple of eMails per day using SmtpClient.
Infrequently the mail-server returns "Sorry, over your relay limit". I don't
understand why relaying is an issue here. Is SmtpClient acting as a
mail-server itself? All I would want it to do is to log into my provider's
mail-server and send mails.
(Sorry that I have very very little insight in the background of how eMail
actually works).
Thanks for each hint, best regards,
Thomas
Dim emailClient As New SmtpClient(uServerInfo.SMTPServer)
Dim SMTPUserInfo As _
New System.Net.NetworkCredential(uServerInfo.User,
uServerInfo.PW)
emailClient.UseDefaultCredentials = False
emailClient.Credentials = SMTPUserInfo
...
message.Subject = sSubject
message.Body = sBody
emailClient.Send(message)
Infrequently the mail-server returns "Sorry, over your relay limit". I don't
understand why relaying is an issue here. Is SmtpClient acting as a
mail-server itself? All I would want it to do is to log into my provider's
mail-server and send mails.
(Sorry that I have very very little insight in the background of how eMail
actually works).
Thanks for each hint, best regards,
Thomas
Dim emailClient As New SmtpClient(uServerInfo.SMTPServer)
Dim SMTPUserInfo As _
New System.Net.NetworkCredential(uServerInfo.User,
uServerInfo.PW)
emailClient.UseDefaultCredentials = False
emailClient.Credentials = SMTPUserInfo
...
message.Subject = sSubject
message.Body = sBody
emailClient.Send(message)