Bug 953688 - Login configuration does not work for custom mail server
Summary: Login configuration does not work for custom mail server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Mail
Version: 6.1.0
Hardware: All
OS: All
unspecified
high
Target Milestone: ER6
: EAP 6.1.0
Assignee: Tomaz Cerar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-18 22:42 UTC by Tomaz Cerar
Modified: 2013-07-23 18:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-23 18:34:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-6948 0 Major Resolved Login configuration does not work for custom mail server 2013-10-01 14:44:08 UTC

Description Tomaz Cerar 2013-04-18 22:42:53 UTC
Description of problem:

You cannot configure login config for custom-mail server configuration.
This results in not beeing able to connect custom-mail server if it uses authentication

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
 <mail-session jndi-name="java:jboss/mail/Custom">
                <custom-server name="smtp" outbound-socket-binding-ref="mail-smtp-tls">
<login name="user at gmail.com" password="password"/>
<property name="host" value="smtp.gmail.com" />
<property name="port" value="587" />
<property name="starttls.enable" value="true" />
</smtp-server>
            </mail-session>
  
Actual results:
failed to parse xml configuration / login not working

Expected results:
i can send mail

Additional info:

Comment 4 Jakub Cechacek 2013-05-03 09:18:21 UTC
Verified 6.1.0.ER6

PS: just for the record, example in first comment is not working due to wrong closing element </smtp-server>


Note You need to log in before you can comment on or make changes to this bug.