In Lucee 5.x you can now configure SMTP settings in the Application.cfc
like so:
this.mails =[
{
host: 'mailgate4.mysite.com'
, port: 25
, username: ''
, password: ''
, ssl: false
, tls: false
, lifeTimespan: createTimeSpan(0,0,1,0)
, idleTimespan: createTimeSpan(0,0,0,10)
}
];
Note, its not documented as yet but you can infer this and other Application.cfc
configuration options by exporting from Lucee Admin.
h/t @mhintze (CFML Slack)