"Click here to verify your email address" link inserts newsletter subscriber once, but emails coupon code over and over
Jason, awhile back, Ray helped me, through a couple of premier support sessions, to double opt-in my newsletter subscribers, while sending out a random generated coupon code when successful. The problem is that when a subscriber clicks the "click here to verify your email address" link they are entered into my database once, but, if they continue to click the original "verify" link, Ray's code keeps sending unique codes ... I want to make sure that if someone clicks it again, they don't get additional codes. I have attached the files that prompt the function ... can you help?