witam,
Jeśli maili nie dostajesz zarówno Ty jak i klienci sprawdź czy przypadkiem serwer nie chodzi pod Windows'em - wtedy musisz skonfigurować w Panelu Administracyjnym prawidłową wysyłkę maili za pośrednictwem SMTP. Ewentualnie sprawdź czy funkcja mail() jest obsługiwana u Ciebie bez problemu no i powyłączaj wszystkie filtry antyspamowe (zdarza się, że maile od Magento dostają po 7, 8 punktów i traktowane są jako spam).
Jeśli natomiast tylko Ty nie dostajesz maili tzn przy składaniu zamówień klienci są informowani normalnie to można zdecydować się na obejście tego problemu zamieniając w pliku: app/code/core/Mage/Sales/Model/Order.php funkcję public function sendNewOrderEmail() na:
public function sendNewOrderEmail()
{
$itemsBlock = Mage::getBlockSingleton('sales/order_email_items')->setOrder($this);
$paymentBlock = Mage::helper('payment')->getInfoBlock($this->getPayment())
->setIsSecureMode(true);
$mailTemplate = Mage::getModel('core/email_template');
/* @var $mailTemplate Mage_Core_Model_Email_Template */
/* Need to comment this out so email hack below works
if ($bcc = $this->_getEmails(self::XML_PATH_EMAIL_COPY_TO)) {
$mailTemplate->addBcc($bcc);
}
*/
if ($this->getCustomerIsGuest()) {
$template = Mage::getStoreConfig(self::XML_PATH_EMAIL_GUEST_TEMPLATE, $this->getStoreId());
$customerName = $this->getBillingAddress()->getName();
} else {
$template = Mage::getStoreConfig(self::XML_PATH_EMAIL_TEMPLATE, $this->getStoreId());
$customerName = $this->getCustomerName();
}
$mailTemplate->setDesignConfig(array('area'=>'frontend', 'store'=>$this->getStoreId()))
->sendTransactional(
$template,
Mage::getStoreConfig(self::XML_PATH_EMAIL_IDENTITY, $this->getStoreId()),
$this->getCustomerEmail(),
$customerName,
array(
'order' => $this,
'billing' => $this->getBillingAddress(),
'payment_html' => $paymentBlock->toHtml(),
'items_html' => $itemsBlock->toHtml(),
)
);
/* Start Email Hack */
$mail = new Zend_Mail();
$mail->setBodyHtml(
$this->getShippingAddress()->format('html').'<br /><br />Shipping: '.
$this->getShippingMethod().'<br /><br >'.
$itemsBlock->toHtml()
);
$mail->setFrom('OD_ADRES_EMAIL')
->addTo('TWOJ_ADRES_EMAIL')
->setSubject('TEMAT_WIADOMOSCI')
->send();
/* End Email Hack */
return $this;
}
Oczywiście OD_ADRES_EMAIL, TWOJ_ADRES_EMAIL, TEMAT_WIADOMOSCI musisz zastąpić odpowiednimi wartościami.