[
https://issues.apache.org/jira/browse/EMAIL-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347649#comment-14347649
]
Thomas Neidhart commented on EMAIL-150:
---
According to
http://www.oracle.com/technetwork/java/javamail/faq/index.html#proxy and
https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html
the preferred way to set the socks server is via the mail.smtp.socks.host
property which requires at least JDK 1.5. The minimum JDK for email is 1.5 so
this should be fine.
btw. to use a socks server with the latest release you can still do:
{code}
Email mail =
mail.getSession().getProperties().setProperty("mail.smtp.socks.host",
"my.socks.host");
...
mail.send();
{code}
> Proxy support
> -
>
> Key: EMAIL-150
> URL: https://issues.apache.org/jira/browse/EMAIL-150
> Project: Commons Email
> Issue Type: Improvement
>Reporter: Perriman
> Labels: proxy
>
> Support to use socket proxy. In javamail it can be done with:
> props.setProperty("proxySet", "true");
> props.setProperty("socksProxyHost", proxyHost);
> props.setProperty("socksProxyPort", proxyPort);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)