Unsubscribe customer using email address

Tweet, share & co

tweet fb share g+ share

Tags


Description

Unsubscribe customer from the newsletter using the email address

Code

Mage::getModel('newsletter/subscriber') 
->loadByEmail($emailAddress) 
->unsubscribe();