Programmatically Unsubscribe Customer
Use the code given below to unsubscribe the email.
[php]
Mage::getModel(‘newsletter/subscriber’)->loadByEmail($emailAddress)->unsubscribe();
[/php]
Use the code given below to unsubscribe the email.
[php]
Mage::getModel(‘newsletter/subscriber’)->loadByEmail($emailAddress)->unsubscribe();
[/php]