Announcement Announcement Module
Collapse
No announcement yet.
need fully-qualified hostname using SimpleMailMessage Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • need fully-qualified hostname using SimpleMailMessage

    Hi,

    I'am trying to send an email from my tomcat server using SimpleMailMessage.

    The problem is that the smtp request which sent is 'helo pomme' instead of 'helo pomme.mydomain' (I took a tcpdump trace and I got the response from the SMTP serveur : 504 <pomme>: Helo command rejected: need fully-qualified hostname).

    What I have to do in my Linux configuration server or in the parameters of the simpleMailMessage objet, for the request to be sent with pomme.mydomain (I make the test using telnet, the smtp serveur accept well pomme.mydomain).

    My /etc/hosts
    <ip adresse> pomme.mydomain pomme

    Thank a lot
    Regards
    Alain
Working...
X