Monday, February 17, 2014

I have a question about using the template in the process of sending mail using cakephp

I have a question about using the template in the process of sending mail using CakePHP(gmail). Details are as follows :
In the my file PostsController exist :
public function email(){
     $email = new CakeEmail("smtp");
     $email->template('template1','template2');
     ...
}
Email has been sent successfully.
There is differences between the two files : template1 vs  template2  when displayed in the inbox of gmail.
I I have the format CSS in the file template1 when sending mail does not display CSS .
Hope to receive help from members. Thank you all !


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: