Skip to content
Permalink
Browse files

mail: Pass the custom headers into the send_mail method (fixes #402)

  • Loading branch information...
lmacken committed Sep 9, 2015
1 parent 3497d7d commit 4908d2d81ae43d6b75dac989831e4a31c3b4dbbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 bodhi/mail.py
@@ -473,7 +473,7 @@ def send(to, msg_type, update, sender=None, agent=None):
subject = subject_template % (critpath, msg_type, update.title)
fields = MESSAGES[msg_type]['fields'](agent, update)
body = MESSAGES[msg_type]['body'] % fields
send_mail(sender, person, subject, body)
send_mail(sender, person, subject, body, headers=headers)


def send_releng(subject, body):

1 comment on commit 4908d2d

@ralphbean

This comment has been minimized.

Copy link
Contributor

commented on 4908d2d Sep 9, 2015

👍

Please sign in to comment.
You can’t perform that action at this time.