Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Unsuscribe email link in custom script

    I have a custom php script that automatically create and send the newsletter . I need include on the script the link for email unsubscribe . Can you help me please with basic php code in order to do that ?

    thx

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Unsuscribe email link in custom script

    Quote Originally Posted by solo_400 View Post
    Can you help me please with basic php code in order to do that ?
    No, not really, since you've not given us the "custom script" code, nor told us anything about it.

    But here's what you need to do it yourself:

    Quote Originally Posted by solo_400 View Post
    I have a custom php script that automatically create and send the newsletter
    Does this custom script work inside Zen Cart and use the Zen Cart email templates? If so, simply make sure your email template has $UNSUBSCRIBE_LINK in it, and it will be converted into the correct link.

    If your "custom script" doesn't know anything about Zen Cart, then you'll need to manually add your own link into it yourself:
    Code:
    index.php?main_page=unsubscribe&addr=PUT_THEIR_EMAIL_ADDRESS_HERE
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2009
    Posts
    368
    Plugin Contributions
    0

    Default Re: Unsuscribe email link in custom script

    My script connect to zencart , create a dynamic email containing new products added , loop trough emails addresses and send them . Your reply solved my issue ! Thx Dr. , whish you the best !

 

 

Similar Threads

  1. v152 Custom Email Invoice - can I email just a payment link?
    By mdawg in forum General Questions
    Replies: 7
    Last Post: 4 Mar 2014, 08:25 PM
  2. v151 Create custom mass-email script
    By strelitzia in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2013, 04:48 PM
  3. custom Add Customer email (need custom welcome email)
    By rennsix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 Dec 2007, 08:06 AM
  4. Trying to add custom link to welcome email
    By doodlebee in forum General Questions
    Replies: 8
    Last Post: 18 Apr 2007, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg