Hi,
I have used the Zend_Mail class to send mails from my site.
And
Now I have to send mails to users in Arabic and French languages!

Is it possible?

i have tried this code

//Configuring mail
                $admin_email    = "[email protected]";
                $admin_name             = "Stefan";
                $toemail                = '[email protected]';
                $toname                 = 'User';
                $subject                = 'subject'; //IN ARABIC/FRENCH
                $body                   = 'Hi, Test message';// OR 
ARABIC/FRENCH TEXT
                
                $mail    = new Zend_Mail('utf-8');
                $mail->setFrom($admin_email,$admin_name);
                $mail->addTo($toemail,$toname);
                $mail->setSubject($subject,'UTF-8',Zend_Mime::ENCODING_8BIT);
                $mail->setBodyHtml($body,'UTF-8',Zend_Mime::ENCODING_8BIT);
                try {
                  $mail->send();
                } catch (Exception $e) {
                  echo "Failed to Send Email.";
                }
But it is not sending any mails when the matter is Arabic


Please Help
Regards,
Anees
-- 
View this message in context: 
http://www.nabble.com/Sending-Mail-in-different-languages-tp22009720p22009720.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to