Hi,
Clicking on the newsletter 'Subscribe' button on the http://get-simple.info/extend/tag/single+page page brings the following response from http://get-simple.info/newsletter/process.php:
Alan
Clicking on the newsletter 'Subscribe' button on the http://get-simple.info/extend/tag/single+page page brings the following response from http://get-simple.info/newsletter/process.php:
- subject = $subject; $confirm->mail_to = $email; $confirm->message = $message; $confirm->unsub_message = ""; $confirm->use_SMTP = ($config[use_SMTP] == 1) ? true:false; $confirm->send(); $status_message = "A confirmation email has been sent to $email."; } else { // Email is invalid $status_message = "We're sorry, this email address seems to be invalid or it's not allowed to sign up for this list. Please check the address and try again or email $config[owner_email] for assistance."; } echo $status_message; } elseif($_GET) // Confirming a sub/unsub request
...
$config[owner_email] for assistance.\n"; } } else { // No record found to confirm or unsubscribe in db $confirm_message = "Error processing request. Please contact $config[owner_email] for assistance.\n"; } echo $confirm_message; } echo <<
All subscribe/unsubscribe requests must be confirmed via email. EOT; ?>
Alan
Web Developer and Translator (German > English)