[jboss-jira] [JBoss JIRA] (WFLY-4074) pop3 mail session throws a NoSuchProviderException
Tomaz Cerar (JIRA)
issues at jboss.org
Wed Nov 12 11:50:30 EST 2014
[ https://issues.jboss.org/browse/WFLY-4074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar updated WFLY-4074:
------------------------------
Steps to Reproduce:
1. add a pop3 server in the mail section
{code:xml}
<mail-session jndi-name="java:/MyMail" from="xxx at xxx">
<smtp-server outbound-socket-binding-ref="smtp-outbound">
<login name="xxx" password="xxx"/>
</smtp-server>
<pop3-server outbound-socket-binding-ref="pop3-outbound">
<login name="xxx" password="xxx"/>
</pop3-server>
</mail-session>
{code}
2. try to read the mailbox
was:
1. add a pop3 server in the mail section
<mail-session jndi-name="java:/MyMail" from="xxx at xxx">
<smtp-server outbound-socket-binding-ref="smtp-outbound">
<login name="xxx" password="xxx"/>
</smtp-server>
<pop3-server outbound-socket-binding-ref="pop3-outbound">
<login name="xxx" password="xxx"/>
</pop3-server>
</mail-session>
2. try to read the mailbox
> pop3 mail session throws a NoSuchProviderException
> --------------------------------------------------
>
> Key: WFLY-4074
> URL: https://issues.jboss.org/browse/WFLY-4074
> Project: WildFly
> Issue Type: Bug
> Components: Mail
> Affects Versions: 8.1.0.Final
> Reporter: Tomaz Cerar
> Assignee: Tomaz Cerar
> Fix For: 9.0.0.Beta1
>
>
> When configuring a pop3 server in standalone.xml as, the following exception is thrown when reading the mailbox:
> Caused by: javax.mail.NoSuchProviderException: Invalid protocol: null
> at javax.mail.Session.getProvider(Session.java:440) [mail-1.4.5-redhat-1.jar:1.4.5-redhat-1]
> at javax.mail.Session.getStore(Session.java:539) [mail-1.4.5-redhat-1.jar:1.4.5-redhat-1]
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jboss-jira
mailing list