Hi all,
could anyone explain how i can modify the script(s) so after someone register to receive my newsletter, i receive an email. I tried to chance the code of submit.php
//notifica a admin
$mail->ClearAddresses();
$mail->AddAddress($templaterow->email_lista);
$mail->AddAddress(‘adminsblog@gmail.com’);
$mail->Subject = $admin_mail_message;
$mail->AltBody = __(‘New subscriber for your newsletter: ‘, ’sendit’).get_bloginfo(‘blog_name’);
// optional, comment out and test
$mail->MsgHTML($_POST[’email_add’].__(‘ subscribe to your mailing list: ‘).get_bloginfo(‘url’));
$mail->Send();
endif;
as i am not a php programmer i haven’t got a clue how to modify the script(s)?
thanks in advance
WEBBiTAT