Mailrelay Auto-Subscribe from Contact Form

Mailrelay Auto-Subscribe from Contact Form
Due to the SPAM received through Opencart please find me at the www.websitesbuilder.com.au form for any question as I will not be notified of comments here.

As I'm getting heaps of SPAM from companies that uses bots from my contact form and I work with Mailrelay, I decided to develop this extension to automatically subscribe them once they submit my site form. -very simple when you use the php mail function.

UPDATED 25/06/2021 New Mailrelay forms. Create a Hidden Group Custom Form on MailRelay first then:

// Create a Hidden Group Custom Form on MailRelay first
$url = 'https://websitesbuilder.ipzmarketing.com/f/rotVwL1St8Y'; //Groups hidden form
$myvars = '&subscriber[email]=' . $email;

$ch = curl_init( $url );
curl_setopt( $ch, CURLOPT_POST, 1);
curl_setopt( $ch, CURLOPT_POSTFIELDS, $myvars);
curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt( $ch, CURLOPT_HEADER, 0);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec( $ch );




Download
  • Developed by OpenCart Community
  • 12 Months Free Support
  • Documentation Included

Rating

Compatibility
1.5.6, 1.5.6.1, 1.5.6.2, 1.5.6.3, 1.5.6.4

Last Update
25 Jun 2021

Created
27 Feb 2020
33 Downloads
0 Comments
comprido
comprido
Member since: 25 Jun 2012

View all extensions Get Support