// Automatically insert URLs into newsletter
if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
// Send HTML mail
- SEND_EMAIL($TO, $SUBJECT, array('text' => HTML_INSERT_URLS($MSG)), "Y");
+ SEND_EMAIL($TO, $SUBJECT, HTML_INSERT_URLS($MSG), "Y");
} else {
// Send normal mail
- SEND_EMAIL($TO, $SUBJECT, array('text' => NL_INSERT_URLS($MSG)), "N");
+ SEND_EMAIL($TO, $SUBJECT, NL_INSERT_URLS($MSG), "N");
}
} else {
// Regular send-out
if ((EXT_IS_ACTIVE("html")) && ($MODE == "html")) {
- SEND_EMAIL($TO, $SUBJECT, array('text' => $MSG), "Y");
+ SEND_EMAIL($TO, $SUBJECT, $MSG, "Y");
} else {
- SEND_EMAIL($TO, $SUBJECT, array('text' => $MSG), "N");
+ SEND_EMAIL($TO, $SUBJECT, $MSG, "N");
}
}
}