The attached file implements a small SMTP library function for drupal.org. It sends all email as today except for issue followups. Issue followups get sent via a shell command so that we can address them to the Issue Queue list and not to the recipient. In this way, the mails resemble Mailman mail. This has the big benefit that Gmail's built in Mute command and email list features will work properly. I have tested this on shell.drupal.org and it works. I also plan to use this on groups.drupal.org for group notification mail.

INSTALL
* Drop the attached file into the drupalorg module directory.
* You can test it by running the file directly at the php command line. You can replace my email with yours in the $to variable.
* Once satisfied, set the 'smtp library' variable to this file: 'sites/drupalorg/modules/drupalorg.mail.inc'. that will make this code live.

CommentFileSizeAuthor
drupalorg.mail_.inc_.txt1.66 KBmoshe weitzman

Comments

nnewton’s picture

I looked over the patch and have no real issues with it, however, do you know how gmail handles repeated To headers? It seems like you might still be able to use the php mail function and insert another To header.

moshe weitzman’s picture

In that case Gmail showed both recipients as To:. Alas, that won't work.

damien tournoud’s picture

Is this still relevant?

moshe weitzman’s picture

I'd like to revive this. Any objections? If not, I'd love some help getting this committed to a drupalorg.module

eliza411’s picture

Status: Needs review » Closed (won't fix)

Closing old issues. Please re-open if needed.

Component: Mail » Servers