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