Bug 953688

Summary: Login configuration does not work for custom mail server
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Tomaz Cerar <tcerar>
Component: MailAssignee: Tomaz Cerar <tcerar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: brian.stansberry, jcechace, jdoyle, myarboro
Target Milestone: ER6   
Target Release: EAP 6.1.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-23 18:34:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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>