James Briggs
1 min readJun 3, 2020

--

yes I’m not sure how I managed to do that.

For anyone confused, msg should be the first argument in the function definition, as optional args (server, port) appear after required args (msg), def send(msg, server='smtp-mail.outlook.com', port='587'):

Thanks Jason

--

--

James Briggs
James Briggs

Written by James Briggs

Freelance ML engineer learning and writing about everything. I post a lot on YT https://www.youtube.com/c/jamesbriggs

No responses yet