Solved

javax.mail.MessagingException: [EOF] message is displayed while sending mail with SMTP protocol.

Posted on 2014-07-21
2
2,661 Views
Last Modified: 2014-07-24
Hi Team,

we are getting below exception message while sending mail using SMTP protocol.

mail:javax.mail.MessagingException: [EOF]
      at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
      at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
      at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1322)
      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:637)

any ideas?

thanks in advance.
0
Comment
Question by:pkoivula
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
S_K_S earned 500 total points
ID: 40217062
what version of exchange is involved?
Does the Exchange server allow to Relay? Refer below article which talks the issue being exchange not allowing to relay
https://confluence.atlassian.com/pages/viewpage.action?pageId=283642382

Ensure we have proper connection to the exchange server and verify the settings on SMTP are proper or not
https://confluence.atlassian.com/pages/viewpage.action?pageId=314450663

http://stackoverflow.com/questions/12306685/javamail-javax-mail-messagingexception
0
 

Author Closing Comment

by:pkoivula
ID: 40218573
thanks for the solution. we identified this earlier and fixed that issue at exchange server level.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
Pop culture is prime bait for hackers seeking to infect user’s computers and mobile devices with malicious malware. Hackers know exactly what the latest trends are online and know how to use them to their advantage.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question