Commit Graph

8 Commits

Author SHA1 Message Date
Ben Thomson 32c63e0e3c
Reorder cases to keep default at bottom as per established style 2020-08-31 16:00:21 +08:00
Ben Thomson ce8c96b66f
Automatically set SMTP port depending on mail encryption type.
This only occurs if the SMTP port field is using a standard port (25, 465, 587). Custom ports are not overwritten.

Fixes https://github.com/octobercms/october/issues/4755
2020-08-31 11:21:50 +08:00
Luke Towers 744263eb4b Minor code formatting improvement 2019-09-25 11:17:59 -06:00
morph85 811b431474 Added support for SparkPost mail configuration (#4151)
Credit to @morph85
2019-09-25 10:28:17 -06:00
Ben Thomson a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Samuel Georges 9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +10:00
Samuel Georges 00ddd8e2b4 string -> ::class + docs 2017-05-20 20:01:19 +10:00
Samuel Georges f0f751d523 MailSettings -> MailSetting 2016-05-27 07:51:36 +10:00