system.net.mail - fully qualified hostname required

  • Thread starter Thread starter Sean Kirkpatrick
  • Start date Start date
S

Sean Kirkpatrick

Trying to send an email message in my vb.net app through my own smtp
server using system.net.mail throws the following exception:

<hooligan>: Helo command rejected: need fully-qualified hostname

I run a Postfix server with lots of UCE controls turned on, so I
understand what it wants, I just don't understand why the framework is
not supplying the FQDN for my local computer. I don't see any property
on either the MailMessage or SmtpClient objects that let me force this,
nor can I seem to locate any tips online.

Is there a secret that I'm missing?

Sean
 
Back
Top