Author Topic: automatic email address removal without button confirmation  (Read 2081 times)

scottscomp

  • Posts: 18
    • View Profile
Hey guys!  Dean, thanks for an awesome email system!

We use ListMailPro as a marketing tool and we advertise an opt-in page.  We use a third party autoresponder for the opt-in page, and after the prospects "opts in" to that list, we want to auto-remove them from LMP.

So we have a PHP page that the prospect lands on, and we have access to their email address as a variable on that page.  I was thinking we could "include" or iframe this page:

http://www.ourdomain./mail/rem.php?r=3&email=test@ourdomain.com

that will remove that email address from List 3.  However - that page has a "Remove" button that must be clicked before the email address is removed.

So we need a link (like above) that auto-removes the email address without having to click another button (and actually, without displaying any text)

The confirmation page (that needs to initiate the auto-removal) is on a different server than our ListMailPro script.

We're using v1.87d.

Any ideas?

Thanks!!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
automatic email address removal without button confirmation
« Reply #1 on: July 16, 2007, 01:16:26 pm »
Greetings,

Try simply adding &dodel=1 to the url.  This loads the page -after- the confirm button is pressed.

This code should work to remove the user without displaying anything:
Code: [Select]
$fp=fopen("http://example.com/mail/rem.php?r=3&email=$email&dodel=1",'r');
fclose($fp);

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

scottscomp

  • Posts: 18
    • View Profile
automatic email address removal without button confirmation
« Reply #2 on: July 16, 2007, 01:37:13 pm »
Dean you are AWESOME!!!  Thank you so much!!  it works great!

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
automatic email address removal without button confirmation
« Reply #3 on: July 16, 2007, 03:07:50 pm »
Hi, I was in a bit of a rush earlier. :D  I should have thanked you for your kind comments! (Thanks!) Please feel free to start a new post if you have any more questions, suggestions or troubles.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting