Couldn't get it to work via gmail, so I used easyIOTcloud, but they have an email limit.
So i tried the smtp2go method. My code seems to work, however, my usernames account is not allowed to send.
The dashboard tells me I need to link to a domain name I have control over to send emails. Is this new? Or am I missing something?