0

I am trying to send a custom mail template. I followed this article. It is working but the emails are all blank. Any Suggestions?

EDIT: Now after rechecking mail is not blank anymore. But, current problem I am facing is I am sending mail from arabic store and my mail is in arabic language. But the text in the mail received is not in arabic due to some encoding problems. Can anyone tell me how to fix my mail encoding?

0

Instead of using php mail function I used zend mail function with utf-8.

    $mail = new Zend_Mail('UTF-8');
    $mail->setBodyHtml($processedTemplate);
    $mail->setFrom($from_email);
    $mail->addTo($usermail, 'No reply');
    $mail->setSubject('My sUBJECT');
    $mail->send();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.