You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hardik Vohra (JIRA)" <ji...@apache.org> on 2015/10/09 22:55:05 UTC
[jira] [Created] (EMAIL-158) Seeing EHLO option warnings
Hardik Vohra created EMAIL-158:
----------------------------------
Summary: 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)