title: Set subscriber status in Magento programmatically
body: <p>I am trying to write a module that syncs my newsletter subscribers in Magento with a external database. I need to be able to update the subscription status in Magento programmatically but I am having diffuculty getting the "setStatus" method in Magento to work. It does not throw any errors but the code does not seem to have any effect. Below is the code where I call the method:</p>
  
  <pre><code>$collection = Mage::getResourceModel('newsletter/subscriber_collection')-&gt;showStoreInfo()-&gt;showCustomerInfo();
  
  foreach ($collection as $cust) {
      $cust-&gt;setStatus(1);
  }
  </code></pre>
  
  <p>In theory, this should set the status of all of my subscribers to "subscribed". I could optionally change the argument sent to "setStatus" to any of the below ints for a different status.</p>
  
  <p>1: Subscribed
  2: Status Not Active
  3: Unsubscribed</p>
  
  <p>How to best change the subscriber status or get this code working?</p>