Solved

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

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this post, we will have a look on how to install Exchange Server 2013 from command prompt, instead of using the graphical user interface. Below are the steps that are to be performed to install Exchange Server 2013. 1. Domain Controller and…
Pegasus Mail (http://www.pmail.com/) is a donation ware that is a collaboration of David Harris along with his team members. It is a desktop mail client that offers the option of configuring more than one mail account with single set up. It supports…
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.
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…

707 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

19 Experts available now in Live!

Get 1:1 Help Now