Doubleclick -
the footer comes out of a template phrase from the database...
I think if you added something like:
Code:
$pattern[3] = "/-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-(.*)-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/is";
$replace[3] = "";
$pattern[4] = "/-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-(.*)-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-/s";
$replace[4] = "";
$mailmessage = preg_replace($pattern, $replace, $mailmessage);
right after:
Code:
$text_message = str_replace("\\'", "'", addslashes(iif(empty($email_text['emailbody']), $emails['-1']['emailbody'], $email_text['emailbody'])));
It _should_ wipe out the footer from the message. You would have to do this for the CRON and PRODUCT xml in I think 4 places (2 per file)
This is untested, but the replace is the same replace that wipes out the footer in replies to posts via email.
C -- maybe an option in EI to disable the footer?