Add HTML code to emails

Discussion in 'Customization & add-ons' started by cdjohn, Aug 8, 2010.

  1. cdjohn

    cdjohn New Member

    Joined:
    May 29, 2010
    Messages:
    6
    I want to add a bit of code just before the message on all emails. I've studied email.php to find the place to insert it but am still not clear. Can anyone give me a pointer?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You can do this in /amember/common.inc.php in function mail_customer
    find this:
    PHP:
    $mail->Body $text;
    change to:
    PHP:
    $mail->Body "Your text here".$text;

Share This Page