▶ def send_mass_mail(datatuple, fail_silently=False, auth_user=None, auth_password=None, ...) Given a datatuple of (subject, message, from_email, recipient_list), send each message to each recipient list. Return the number of emails sent.
def send_mass_mail(
datatuple,
fail_silently=False,
auth_user=None,
auth_password=None,
connection=None,
)
If from_email is None, use the DEFAULT_FROM_EMAIL setting.
If auth_user and auth_password are set, use them to log in.
If auth_user is None, use the EMAIL_HOST_USER setting.
If auth_password is None, use the EMAIL_HOST_PASSWORD setting.
Note: The API for this method is frozen. New code wanting to extend the
functionality should use the EmailMessage class directly.