C
Cheri Reed
Hello,
This snippet of code has worked successfully for many of our clients. We
now have one client where it's failing and I'm not sure why.
Here's the code for sending a simple email:
Dim SMTP As New SmtpClient(strIP)
SMTP.Credentials = New Net.NetworkCredential(strEmailUID, strEmailPWD)
SMTP.Send(Message)
For this one particular client, using their email credentials, the get "EHLO
requires domain address". Then I had them try my
emails credentials and they received "Syntax: EHLO hostname".
On our test machine, both sets of credentials work successfully.
So I'm assuming this must be something in their environment that's causing
the problem. Can anyone enlighten me?
Thanks
This snippet of code has worked successfully for many of our clients. We
now have one client where it's failing and I'm not sure why.
Here's the code for sending a simple email:
Dim SMTP As New SmtpClient(strIP)
SMTP.Credentials = New Net.NetworkCredential(strEmailUID, strEmailPWD)
SMTP.Send(Message)
For this one particular client, using their email credentials, the get "EHLO
requires domain address". Then I had them try my
emails credentials and they received "Syntax: EHLO hostname".
On our test machine, both sets of credentials work successfully.
So I'm assuming this must be something in their environment that's causing
the problem. Can anyone enlighten me?
Thanks