I am trying to create Jira tickets with python. The Problem is in order to create the ticket in Jira I need the "To" option, to assign it the "CC" option is needed as a dedicated field. In bash I used to do as follows and ticket was correctly created and assigned:
/usr/bin/mail -s "$SUBJECT" -c "$CC" -b "$BCC" "$TO" <<EOF
$Text
EOF
Is there a similar way to do so in Python? I tried with smtplib without success.
Thanks