This has got me stumped.
I've tried including a [SIGNATURE] placeholder in a template. The signature is added as expected, but a second signature is appended to the message as well. Looking at the code for sendEmail in lists/admin/sendemaillib.php, it looks as if this isn't what's supposed to happen. The sig is only appended if the [SIGNATURE] place holder wasn't found.
What seems to be happening is that [SIGNATURE] is getting replace with the sig first, elsewhere. So when sendEmail checks for the string [SIGNATURE], it isn't there, and the sig is then appended. But I can't for the life of me work out where the initial replacement is taking place. Any clues?
An additional issue is that the default appending of the signature is not smart. My templates include the whole the html, from <html> to </html>. The signature is being appended, along with an extra <br />, after the closing </html> tag.
