Results 1 to 3 of 3
  1. #1
    allanwakes is offline Member
    Join Date
    Sep 2008
    Posts
    2
    Rep Power
    0

    Question javamail exception: 557 mail head error

    Hi, all.
    I run into a problem when I send a test email using javamail.

    It said: class javax.mail.MessagingException: 557 mail head error.

    Can anyone tell me possible cause of this problem, please?
    I was totally lost, the format of the mail? Target server rejected mails from my ip?

    I need help, thanks!

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    7

    Default

    Have you turned on debugging verbosity?

    Can you tell if your SMTP daemon is complaining? or it your message not getting to the daemon?

  3. #3
    allanwakes is offline Member
    Join Date
    Sep 2008
    Posts
    2
    Rep Power
    0

    Default

    Thank you, fishtoprecord.
    You actually inspired me, I need to check related logs on smtp server to see if my message got send or not, or some complains about my message.

Similar Threads

  1. Replies: 2
    Last Post: 05-05-2008, 06:01 AM
  2. urgent help -java mail authorization failed exception
    By ravinder.kadiyan in forum Advanced Java
    Replies: 2
    Last Post: 04-30-2008, 11:27 AM
  3. Java mail api exception
    By oregon in forum New To Java
    Replies: 1
    Last Post: 08-05-2007, 06:03 PM
  4. Sending mail Using JAVAMAIL
    By peiceonly in forum Advanced Java
    Replies: 3
    Last Post: 07-19-2007, 02:11 PM
  5. JavaMail:Authentication required error
    By bbq in forum Advanced Java
    Replies: 1
    Last Post: 07-05-2007, 04:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •