Solved

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

Posted on 2014-07-21
2
2,490 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This Micro Tutorial demonstrates  how Internet marketers work with competitive analysis data, and a common task in data preparation is creating separate column for domains. You will then extract from a list of URLs.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now