Hello all
I am trying to understand how to input the different arguments for SMTPlib - sendmail.
I have the following code:-
From_Address = "From Email"
To_Address = "To Email"
Body = "This is the body of the email"
mail.sendmail(from_addr: From_Address, to_addrs: To_Address, msg = Body)
But i keep getting an error stating invalid syntax even though i have entered the semi colons exactly as the help pop up.
My question is how do you interpret the help pop up which shows the different arguments.
Can anyone help?
Thank you.

I am trying to understand how to input the different arguments for SMTPlib - sendmail.
I have the following code:-
From_Address = "From Email"
To_Address = "To Email"
Body = "This is the body of the email"
mail.sendmail(from_addr: From_Address, to_addrs: To_Address, msg = Body)
But i keep getting an error stating invalid syntax even though i have entered the semi colons exactly as the help pop up.
My question is how do you interpret the help pop up which shows the different arguments.
Can anyone help?
Thank you.
