Copy the secretariat on the message sent to the RFC Editor and IANA when a draft is pulled from the RFC Editor queue. Fixes ticket #1549. Commit ready for merge.

- Legacy-Id: 8718
This commit is contained in:
Robert Sparks 2014-11-26 20:57:47 +00:00
parent 134ae9928f
commit 1d7d5dd32e

View file

@ -50,6 +50,8 @@ def email_stream_changed(request, doc, old_stream, new_stream, text=""):
url=settings.IDTRACKER_BASE_URL + doc.get_absolute_url()))
def email_pulled_from_rfc_queue(request, doc, comment, prev_state, next_state):
extra=extra_automation_headers(doc)
extra['Cc'] = 'iesg-secretary@ietf.org'
send_mail(request, ["IANA <iana@iana.org>", "RFC Editor <rfc-editor@rfc-editor.org>"], None,
"%s changed state from %s to %s" % (doc.name, prev_state.name, next_state.name),
"doc/mail/pulled_from_rfc_queue_email.txt",
@ -58,7 +60,7 @@ def email_pulled_from_rfc_queue(request, doc, comment, prev_state, next_state):
next_state=next_state,
comment=comment,
url=settings.IDTRACKER_BASE_URL + doc.get_absolute_url()),
extra=extra_automation_headers(doc))
extra=extra)
def email_authors(request, doc, subject, text):