If you don't know Jira 4.x yet, you might be a little surprised by the UI changes ... :)
|
[
Permlink
| « Hide
]
Grégory Joseph added a comment - 09/Oct/08 05:04 PM
Thanks for the patch, will review and apply asap.
Different patch to solve the same problem.
I have added the socketFactory port, class, & fallback configurations, I have also added the "debug" option and finally I have modified the bootstrap config file. Thanks ! Will have to be modified to be applied on trunk. We'll also have to add an update task to add the new properties in the config.
Integrated in
magnolia_main-trunk #552add new configurable prperty (starttsl) to smtp ones, applied patch suggested by user I just realized that my patch only works on port 465 (SSL) and doesn't support the other gmail port 587 (TLS)
I've mixed up the configuration parameters and they are mutually exclusive. The code should be something like this: if (Boolean.valueOf((String) this.mailParameters.get(SMTP_SSL)).booleanValue()) { props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); props.put("mail.smtp.socketFactory.fallback", "false"); } if (Boolean.valueOf((String) this.mailParameters.get(SMTP_TLS)).booleanValue()) { props.put("mail.smtp.starttls.enable", "true"); } Tomorrow, I will create a new patch (this time against trunk) to fix this. Thanks Alejandro, waiting for this
Integrated in
magnolia_main-trunk #573tls and ssl are exclusive set only if the property is defined in the configuration I saw the changes in the trunk, do you still need the patch? what about the 3.6 branch?
If the change in the trunk does what you needed, then I guess we're fine
3.6 should have been patched too - Teresa ? Integrated in
magnolia_main-3.6-branch #69merge r21584 from trunk - tls and ssl are exclusive set only if the property is defined in the configuration Thank you Gregory, Thank you Teresa!
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||