The Spammer (component that sends all mails on behalf of the forum) cannot be configured with special properties. For example some mail servers require that the connection is started normally and then switched to TLS afterwards.
For this case two extra properties have to be added to the SMTP properties. It would be difficult to determine the full set of such properties upfront. Therefore the proposal is to provide a new global property that will be used to add these properties.
The property will be caled: "mail.smtp.additional.properties"
An example usage of the property would be:
mail.smtp.additional.properties=extra.property1=value,extra.property2=value
The change should include an update to the documentation (yet to be determined) that indicates to users how the new paramter should be used.
At the moment the property must exist in the global properties or the config_list.htm form fails to load, this seems inline with how everything else works, so I added a blank property for it to globals.
I tested without property, OK
Test with property, OK:
INFO [Spammer] - Applying additional SMTP mail property: 'mail.smtp.starttls.enable'='true'
INFO [Spammer] - Applying additional SMTP mail property: 'mail.smtp.starttls.required'='true'
I've also added this to the configuration page, and made a blank configuration entry.
I'd run it through a bit of testing before release, especially the configuration panel.
Checked in. Note that the default value contains a property, which had been hard-coded so far. You may have to add that manually on the configurations page.