Solved

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

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

717 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