I see that the mail parameters for drupal_mail() are generated via rsvp_mailer_replacements(). The way this function is used seems a bit strange to me, but that's for another issue.

I think it would be very useful to pass along the RSVP object. Otherwise, modules implementing hook_mail_alter() have no data to really work with.

Patch attached does just that.

CommentFileSizeAuthor
rsvp_add-rsvp-object-to-mail-params.patch490 bytesmstef
Support from Acquia helps fund testing for Drupal Acquia logo