This is my code:
$mail = Mage::getModel('core/email');
$mail->setToName('My Name');
$mail->setToEmail('[email protected]','[email protected]');
// $mail->setToEmail($this->getStoreSalesEmail(), $this->getCustomerEmail());
$mail->setBody($html);
$mail->setSubject('You have changed your subscription date');
$mail->setFromEmail('[email protected]');
// $mail->setFromName("Msg to Show on Subject");
$mail->setType('html');// YOu can use Html or text as Mail format
I received the email to this address: [email protected]. But for [email protected] I do not receive any email. Why ?