macros are now automatically processed on every email sent.
This commit is contained in:
parent
4b2e5a164b
commit
3f2d2c63f9
1 changed files with 3 additions and 1 deletions
|
|
@ -90,7 +90,9 @@ sub send {
|
|||
#body
|
||||
$message .= $_[2]."\n";
|
||||
#footer
|
||||
$message .= "\n".WebGUI::Macro::process($session{setting}{mailFooter});
|
||||
$message .= "\n".$session{setting}{mailFooter}
|
||||
#process macros on message
|
||||
$message = WebGUI::Macro::process($message);
|
||||
if ($session{setting}{smtpServer} =~ /\/sendmail/) {
|
||||
if (open(MAIL,"| $session{setting}{smtpServer} -t -oi")) {
|
||||
print MAIL $message;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue