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 2016/01/14 21:02:40 UTC
[jira] [Resolved] (EMAIL-158) Seeing EHLO option warnings
[ https://issues.apache.org/jira/browse/EMAIL-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siegfried Goeschl resolved EMAIL-158.
-------------------------------------
Resolution: Cannot Reproduce
> 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)