Issue sending SMTP mails via SES

Note: external article link being removed, solution is as noted here