Quantcast
Channel: WordPress.org Forums » [WP-Filebase Download Manager] Support
Viewing all articles
Browse latest Browse all 1341

chandru998 on "[Plugin: WP-Filebase Download Manager] Upload Notification Email"

$
0
0

Hi Gusy just customize the plugin

open plugin folder find the file name inside classes folder AdminGuiFiles.php add mail function after this line $message = $update?__('File updated.', WPFB):__('File added.', WPFB);
like

<?php
$to      = 'nobody@example.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: webmaster@example.com' . "\r\n" .
    'Reply-To: webmaster@example.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);
?>

Viewing all articles
Browse latest Browse all 1341

Trending Articles