camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-1096) camel-mail - setting additional java mail properties should be easier for URI and spring DSL
Date Sun, 16 Nov 2008 11:55:05 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47425#action_47425
] 

Claus Ibsen commented on CAMEL-1096:
------------------------------------

For instance to set a POP3 top option to disabled
http://java.sun.com/products/javamail/FAQ.html

Such as this FAQ:
Q: I'm having problems using POP3 with Microsoft Exchange.
A: Some versions of Microsoft Exchange do not implement the POP3 protocol properly. They return
different headers from the TOP command than they do from the RETR command. This can cause
all sorts of strange failures in JavaMail. One solution is to disable use of the TOP command,
as described above. Another approach that works in some cases os to tell JavaMail to forget
about the headers it retrieved using the TOP command after retrieving the entire message using
the RETR command. To do this, set the property "mail.pop3.forgettopheaders" to "true". 

It should be possible to set it as:
mail.pop3.forgettopheaders=true

The option should be: *mail.*xxx

> camel-mail - setting additional java mail properties should be easier for URI and spring
DSL
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-1096
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1096
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-mail
>    Affects Versions: 1.5.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.0.0
>
>
> SUN JavaMail has many properties for configuring Java Mail.
> http://java.sun.com/products/javamail/javadocs/index.html
> Currently you can set either all java mail properties yourself or set a few of them using
the URI. We should support the 
> javamail.XXX option so you can append whatever you want.
> And maybe also a bean ref so you can configure this nicely in Spring DSL.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message