You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Siegfried Goeschl (JIRA)" <ji...@apache.org> on 2015/11/24 23:55:11 UTC
[jira] [Commented] (EMAIL-158) Seeing EHLO option warnings
[ https://issues.apache.org/jira/browse/EMAIL-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025623#comment-15025623 ]
Siegfried Goeschl commented on EMAIL-158:
-----------------------------------------
Hi Hardik,
I looked at the error message
{code}
The Ehlo options for the client proxy target xxxx:xxxx:xxxx:x:x:xxxx:xxx.xxx.x.xx did not match while setting up proxy for user xxxx@example.com on inbound session 05D2ACA9F88A9066.
The critical non-matching options were <maxSize>. T
he non-critical non-matching options were <NONE>. Client proxying will continue.
{code}
and searched a bit but found no definitive answer
* What SMTP server is being used?
* Can you send an email having the system property "mail.debug" set to "true". Then you should see the SMTP exchange between client & server which could provide some insight
> Seeing EHLO option warnings
> ---------------------------
>
> Key: EMAIL-158
> URL: https://issues.apache.org/jira/browse/EMAIL-158
> Project: Commons Email
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: Ubuntu 14.01 64 bit.
> Reporter: Hardik Vohra
>
> The exchange server is throwing the following error while sending email using apache commons email library.
> ```
> {noformat}
> The Ehlo options for the client proxy target xxxx:xxxx:xxxx:x:x:xxxx:xxx.xxx.x.xx did not match while setting up proxy for user xxxx@example.com on inbound session 05D2ACA9F88A9066. The critical non-matching options were <maxSize>. The non-critical non-matching options were <NONE>. Client proxying will continue.
> {noformat}
> This is how I am sending the email (using scala):
> {noformat}
> val email = new HtmlEmail
> email.setHtmlMsg(htmlMsg.getOrElse(""))
> email.setSubject(subject)
> email.addTo(emailId)
> attachments.getOrElse(List.empty).foreach(email.attach)
> email.setHostName(smtpHostname)
> email.setSmtpPort(smtpPort)
> email.setAuthentication(smtpUsername, smtpPassword)
> email.setSSLOnConnect(true)
> email.setSslSmtpPort(smtpPort)
> email.send()
> {noformat}
> Please let me know if I am missing some configuration here or there is some bug in the library.
> Looking for quick assistance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)