Solved

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

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

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

Suggested Solutions

Today, security is a big concern in an organization to prevent sensitive data leakage. In Outlook you can secure your Outlook items (emails, calendars, contacts and other stuff) using various techniques like by marking item as private, or you can pu…
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.
The purpose of this video is to demonstrate how to set up Lists in Mailchimp. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchimp account. : Click on Lists. Click on Create List Button : Choose the desi…
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…

829 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