Jump to content

Envio de e-mail - Gmail - Python


Recommended Posts

Bom dia Pessoal,

Vocês conseguem me dizer o que estou fazendo de errado aqui? Na linha: 

  msg.set_payload(corpo_email )

"corpo_email" is not defined(reportUndefinedVariable)

corpo_email = aqui eu pretendia construir o corpo do e-mail com html.

 

image.png

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 5 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...