felix7 Posted January 31, 2018 Share Posted January 31, 2018 (edited) Hi, I'm sending an email, and it works, but the subject has a weird symbol (see image attached). This is my code: public function postProcess() { $id_lang = (int)(Configuration::get('PS_LANG_DEFAULT')); $template = 'contact'; $subject = 'Test subject'; $template_vars = array( '{email}' => 'client email', '{message}' => 'test message', ); $to = '[email protected]'; $to_name = 'myname'; $from = '[email protected]'; $from_name = 'a'; Mail::Send($id_lang, $template, $subject, $template_vars, $to, $to_name, $from, $from_name, $file_attachment = null, $mode_smtp = null, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = null, $bcc = null, $reply_to = null); } Everything works fine, it is just that symbol. Thanks in advance. Edited March 31, 2018 by felix7 (see edit history) Link to comment Share on other sites More sharing options...
felix7 Posted February 7, 2018 Author Share Posted February 7, 2018 Any sugestion? Link to comment Share on other sites More sharing options...
felix7 Posted March 31, 2018 Author Share Posted March 31, 2018 Solved here: https://www.prestashop.com/forums/topic/660964-solucionado-simbolo-extraño-en-el-asunto-del-email/?do=findComment&comment=2755059 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now