Make SMTP authentication mechanism configurable.
Merge pull request #1791 from vikhyat/smtp-auth-option

Make SMTP authentication mechanism configurable.