commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siegfried Goeschl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EMAIL-158) Seeing EHLO option warnings
Date Sat, 02 Jan 2016 17:10:39 GMT

    [ https://issues.apache.org/jira/browse/EMAIL-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15076589#comment-15076589
] 

Siegfried Goeschl commented on EMAIL-158:
-----------------------------------------

Hi Hardik, any news from your side? 

> 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)

Mime
View raw message