Subscribe Us


Update latest News & Information via Email.


success == false) { die("Captcha verification failed. Please try again."); } */ try { // --- Mail to Subscriber --- $mail = new PHPMailer(true); $mail->isSMTP(); $mail->Host = 'smtppro.zoho.in'; $mail->SMTPAuth = true; $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; $mail->Port = 465; $mail->Username = 'contact@uniquegadgetshop.com'; // YOUR Gmail/SMTP email $mail->Password = '4kQvUhbsNfqX'; // YOUR Gmail/SMTP app password $mail->setFrom('contact@uniquegadgetshop.com', 'uniquegadgetshop'); $mail->addAddress($email, $name); $mail->addReplyTo('contact@uniquegadgetshop.com', 'uniquegadgetshop'); $mail->isHTML(true); $mail->Subject = "Subscription Confirmation"; $mail->Body = "

Unique GadgetShop

Hi,

Thanks for subscribing to our newsletter.

We are glad that you joined us...



Regards,
Unique GadgetShop

"; $mail->send(); // --- Mail to Admin --- $mail2 = new PHPMailer(true); $mail2->isSMTP(); $mail2->Host = 'smtppro.zoho.in'; $mail2->SMTPAuth = true; $mail2->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; $mail2->Port = 465; $mail2->Username = 'contact@uniquegadgetshop.com'; $mail2->Password = '4kQvUhbsNfqX'; $mail2->setFrom('contact@uniquegadgetshop.com', 'uniquegadgetshop'); $mail2->addAddress('contact@uniquegadgetshop.com', 'uniquegadgetshop'); $mail2->isHTML(true); $mail2->Subject = "Subscribe Details"; $mail2->Body = "New subscription on your website:
Name : $name
Email : $email
Message : $message
"; $mail2->send(); echo "Your submission has been submitted successfully."; } catch (Exception $e) { echo "Mailer Error: " . $e->getMessage(); } } ?>