Snippets with the tag: newsletter

Unsubscribe customer using email address

Description

Unsubscribe customer from the newsletter using the email address

Code

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