commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hardik Vohra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EMAIL-158) Seeing EHLO option warnings
Date Fri, 09 Oct 2015 20:55:05 GMT
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)

Mime
View raw message