Hi,

I just installed Drupal 4.7.4 tonight, and the latest 4.7 release of the buddylist module. I discovered that I am unable to send custom emails to users when I add them.

To reproduce:

1) Go to admin/settings/buddylist

2) Edit the subject and body of of the "Added Buddy Email".

3) Check the box "send add messages"

4) Save the changes.

5) Now, add a buddy to your buddylist.

The email that they get HAS the changed subject, but does NOT have the changed body. Instead they get the default body.

Any suggestions?

Thanks,

-- Doug

Comments

bensheldon’s picture

On line 987 modify:

$message = variable_get('buddylist_add_message', buddylist_mail_add_default());

to

$message = variable_get('buddylist_add_text', buddylist_mail_add_default());

the variable should be "_text" not "_message";

Can do the same on line 991 for the Delete message.

fago’s picture

Status: Active » Fixed

the failure was in all 4 message types. thanks for reporting.
fixed in 4.7 and 5.0

Anonymous’s picture

Status: Fixed » Closed (fixed)