system.net.mail - fully qualified hostname required

  • Thread starter Sean Kirkpatrick
  • 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top