Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add option to explicitly specify the use of STARTTLS #183
Required for servers that use STARTTLS without SMTPS such as Office 365
Please note that I didn't touch the if (isGMail || smtps) part where you also enable STARTTLS. I'm unsure if STARTTLS is mandatory for those, so I guess the safer choice is not to change them.