I am working on a mail client that uses vb sendmail. All of my mail is being returned to me, with the following error message.
I thought that I was authenticating in the code. I have found almost no help the vb sendmail.dll functions, and nothing that has done me any good. If any advice can be offered, or you can point me in the direction of a good reference guide that addresses this issue, it would be greaty appreciated. Note, yes, I have looked at msdn.com, and found nothing helpful.
You must SMTP Authenticate
Code:
With SendMail
.SMTPHostValidation = VALIDATE_HOST_DNS
.EmailAddressValidation = VALIDATE_SYNTAX
.SMTPHost = Server
.UsePopAuthentication = True
.POP3Host = Hostname
.Username = Username
.Password = Password
.EncodeType = MIME_ENCODE
.AsHTML = True
.Subject = txtSubject.Text
.From = SenderEMail
.FromDisplayName = Sendername
.Recipient = txtUser
.RecipientDisplayName = txtUser
.message = txtMessage.Text
.Send
End With
I thought that I was authenticating in the code. I have found almost no help the vb sendmail.dll functions, and nothing that has done me any good. If any advice can be offered, or you can point me in the direction of a good reference guide that addresses this issue, it would be greaty appreciated. Note, yes, I have looked at msdn.com, and found nothing helpful.