'some email address',
'returnreceipt' => 1
);
*/
/** Standardized v2 template rewrite
*
* Format for individual emails sent by e107 (not bulk emails for now) - a work in progress - bulk could be ported later.
* @see e107Email::sendEmail();
* Aim: to make email templates follow the same spec. as other templates while remaining as intuitive as other v2 templates in e107.
* Note: giving a template a 'name' value will make it available in the admin->mailout area.
*/
// Default - test email and when no template specified.
$EMAIL_TEMPLATE = [];
$EMAIL_TEMPLATE['default']['name'] = 'Default';
$EMAIL_TEMPLATE['default']['subject'] = '{SITENAME}: {SUBJECT} ';
$EMAIL_TEMPLATE['default']['header'] = "
";
$EMAIL_TEMPLATE['default']['body'] = "{BODY}
{MEDIA1}{MEDIA2}{MEDIA3}{MEDIA4}{MEDIA5}";
$EMAIL_TEMPLATE['default']['footer'] = "
{SITEBUTTON: type=email&h=60} |
{SITENAME=link}
{SITEURL} |
";
// -------------------------------
/**
* Signup Template.
* @example developer tests
* signup.php?preview
* signup.php?test
* signup.php?preview.aftersignup
*/
$EMAIL_TEMPLATE['signup']['name'] = 'Signup';
$EMAIL_TEMPLATE['signup']['subject'] = '{SITENAME}: '. LAN_SIGNUP_98;
$EMAIL_TEMPLATE['signup']['header'] = $EMAIL_TEMPLATE['default']['header'];
$EMAIL_TEMPLATE['signup']['body'] = "
".LAN_EMAIL_01." {USERNAME},
".
LAN_SIGNUP_97." {SITENAME}
".LAN_SIGNUP_21."
{ACTIVATION_LINK}
".LAN_SIGNUP_59."
".LAN_SIGNUP_18."
".LAN_LOGIN.":
{LOGINNAME}
".LAN_PASSWORD.":
{PASSWORD}
".LAN_EMAIL_04."
".LAN_EMAIL_05."
".LAN_EMAIL_06."
{SITEBUTTON: type=email&h=60} |
{SITENAME=link}
{SITEURL} |
";
$EMAIL_TEMPLATE['signup']['footer'] = "