A client wanted to suppress email from default relationships when new users register. I couldn't see any way to do this using hooks, so I wrote a patch to make that happen. Since the current state is to have the emails sent, I added an option to the UR settings form that defaults to send and then check that setting before sending UR mail at registration.

CommentFileSizeAuthor
#1 mailer.patch1.69 KBgwen
mailer.patch1.96 KBgwen

Comments

gwen’s picture

StatusFileSize
new1.69 KB

Whoops, just noticed I left in some debugging code in the patch. Here's a better one.

mrf’s picture

Version: 6.x-1.0-rc2 » 6.x-1.x-dev
Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, mailer.patch, failed testing.