// Wrapper for sending newsletter and wrapping URLs / HTML mail
function sendNewsletter ($to, $subject, $message, $mode) {
// Send mail away as HTML
- if (postRequestParameter('auto_urls') == 'Y') {
+ if (postRequestElement('auto_urls') == 'Y') {
// Automatically insert URLs into newsletter
if ((isExtensionActive('html_mail')) && ($mode == 'html')) {
// Send HTML mail