codebots.bots.emailbot.EmailBot.send_email

Method

EmailBot. send_email ( receiver , subject , body , attachment = None ) [source]

Send an email to an email address.

Parameters
receiver str

email address of the receiver

subject str

subject of the email

body str

body text of the email

attachment str, optional

path to the file to attach, by default None