Mailer New Feedback Edits

From MontegoScriptsWiki
Jump to: navigation, search

Home>Mailer>New Installation>Core File Edits>modules/Feedback/index.php

Given the vast number of *nuke-based forks and versions across all of these, we cannot possibly provide updates to all of them. In fact, the bulk of the updates will be based upon PHP-Nuke 7.6 just like the instructions for new installations. However, where possible, a few RavenNukeā„¢ specific notes will be added as helpful hints along the way.

Contents

Here are the required edits for this script:

Open File

Open the following file to edit:

modules/Feedback/index.php

FIND THIS CODE BLOCK:

mail($to, $subject, $msg, $mailheaders);

REPLACE WITH:

/*
 * TegoNuke(tm) Mailer
 */
$mailsuccess = false;
if (TNML_IS_ACTIVE) {
    $mailsuccess = tnml_fMailer($to, $subject, $msg, $sender_email, $sender_name);
} else {
    $mailsuccess = mail($to, $subject, $msg, $mailheaders);
}
//mail($to, $subject, $msg, $mailheaders);
/*
 * end of TegoNuke(tm) Mailer add
 */
Personal tools