### Connect to pyshell and send email in EvaTeam Source: https://docs.evateam.ru/docs/docs/DOC-001176 Instructions for connecting to the EvaTeam's Python shell (pyshell) and sending emails. It requires navigating to the application directory and starting the shell. Remember to call `commit()` after sending an email. ```shell cd /opt/eva-app/ python3 manage.py shell ``` ```python # After connecting to pyshell, you can use cmfutils.send_email # Example: # cmfutil.send_email(to='user@example.com', subject='Test', content='This is a test email.') # commit() ``` -------------------------------- ### Send Email using cmfutils.send_email in Python Source: https://docs.evateam.ru/docs/docs/DOC-001176 Demonstrates how to send emails using the `cmfutils.send_email` method. This method supports various parameters for recipients (to, cc, bcc), subject, and content. It can handle single or multiple recipients and optional CC/BCC addresses. ```python cmfutil.send_email(to=['to1@examlple.org', 'to2@examlple.org'], subject='subject', content='content', cc=['cc1@example.com', 'cc2@example.com'], bcc=['bcc1@example.com', 'bcc2@example.com']) ``` ```python cmfutil.send_email(to='to@examlple.org', subject='subject', content='content', cc='cc@example.com' bcc='bcc@example.com') ``` ```python cmfutil.send_email(to='to@examlple.org', subject='subject', content='content') ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.