- This topic has 1 reply, 2 voices, and was last updated 12 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Integration wp estore autoresponder with listmail pro
Hi admin,
Could you help me how to integrate below script in the eStore_auto_responder_handler.php?
$listvalue = 27;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “http://www.listmailpro.com/signup.php”);
// get the vars
// Do a POST
$data = array(‘fname’ => $name, ’email’ => $email,
‘list’=> $listvalue,
‘Format’=>’1′,’SelectLists[1]’=>’YES’);
//note – splitting lines in php code is ok – php looks for the ending semicolon to //tell the end of a line of code
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// grab URL, and print
$exec=curl_exec($ch);
//End for Listmail 3rd party autoresponder
This will need to be handled via a custom job. Read the 3rd point from our forum rules which will explain more:
https://support.tipsandtricks-hq.com/forums/topic/forum-rules
Please use the contact form to get in touch with us to get a custom job done.