Opened 4 years ago

Closed 4 years ago

#32583 closed New feature (wontfix)

Allow mass emails with EmailMessage Object

Reported by: Muskan Vaswan Owned by:
Component: Core (Mail) Version: 3.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Allowing sending in a list of email messages as arguments for send_mass_mail() function. This will allow the user to send multiple emails using the email message object, in a single connection usinf a simplistic syntax.


Example Usage:

messages = [
      EmailMessage(subject, message, sender, recipient, bcc, cc, reply_to=email)
      for subject, message, sender, recipient, bcc, cc, email in datatuple
  ]
send_mass_mail(messages=messages)

Change History (2)

comment:1 by Muskan Vaswan, 4 years ago

Owner: nobody removed
Status: assignednew

comment:2 by Mariusz Felisiak, 4 years ago

Resolution: wontfix
Status: newclosed

The API for send_mass_mail() is frozen so we will not accept any new functionalities. Check also docs about sending multiple emails.

Note: See TracTickets for help on using tickets.
Back to Top