Skip to main content

Mailchimp unsubscribe issue.

Having been able to integrate mailchimp in one of my client's site, I've encountered an issue where an email was already unsubscribe and when i tried to re-subscribe the same email. Automatically the old information was  being pulled out.

Just so you know, that when an email was unsubscribed in mailchimp, it was not fully deleted in the database. Instead we can try to flag the specific member or email to full delete all the information from their database.

Here's how you do it.  $api->listUnsubscribe( $list_id, $_GET['email'], true ); 

You have to set the it to true to fully delete the information. Getting techie here :)

Happy Programming!

Comments

Popular posts from this blog

Junk foods for you and for me

Most of us love eating junk foods especially the kids and my kid is one of them. Oh how she loved eating chocolate like me. Green & Black's Organic Chocolate Bar, 70% Cocoa, 3.5-Ounce Bars (Pack of 10) It is sad but true that most of our kids today have junk food on their diet. These foods are loaded with high calories, fats, and sugar, but very low in nutrition.

BABY RASHES

It hurts to see your baby crying out loud because of that reddish thing that you see on her diaper lining. These are diaper rash or diaper dermatitis; it is caused by diaper staying wet on the skin, rubbing of diaper on the skin and some chemicals that blend with the diaper that is found in urine and stool. Common causes are: ·          If the wet diaper stays long on babies, especially if they sleep for long hours and we are unable to change it. ·          If the baby is already eating solid foods. The chemical content on their stool and urine might change causing the rashes. ·          Constant rubbing of skin. 

TO TAKE PILLS OR NOT

(Any medical issue written here is not for you to follow, it is only additional information regarding about the topic. If you will take any pills please see a doctor first!) Women today married or not, have tried to take hormonal pills. It can be for contraception purposes or for  medication. Taking pills for the purpose of medication is not questionable since we are using it to treat a certain illness. But what concerns me more is, a lot of teenagers today are taking pills without consent (Of course who would want to know that they are sexually active). But before diving in to taking pills, there are things that we must know. “Any synthetically made pills have side effects.” According to one doctor I’ve talked to, it can trigger diabetes plus it is not allowed to women with hypertension. That’s why you need to consult an OB/GYN before you take any pills or medicine. To make things clear, pills has two hormone content, it is the oestrogen and progestogen. These two hormones ar...