Re: Mail templates

2006-06-30 Thread Langdon Stevenson
Can't comment on the best approach, but I would definitely like to be able to send multipart email, so this thread is of interest. Regards, Langdon Attila wrote: So you guys are just sending out either html only email (wiki example) or text only emails (matt's example). How about mime

Re: Mail templates

2006-06-30 Thread Matt
I am sending out multi-part emails with both an HTML and text version, and I am using the Pear library Mail_Mime to achieve this: http://pear.php.net/mail_mime Though I plan to abstract this somewhat by moving all the repeated logic into a mail component. Attila wrote: So you guys are just

Re: Mail templates

2006-06-30 Thread Attila
well, I need it working today, so here is what I'm just doing: 1) extension of the email component to be suited for multipart alternative 2) master layout for a multipart alternative email, with one renderElement for each of the templates, the html and the txt version. 3) the html and the txt

Re: Mail templates

2006-06-30 Thread gwoo
On Jun 30, 2006, at 6:05 AM, Attila wrote: well, I need it working today, so here is what I'm just doing: 1) extension of the email component to be suited for multipart alternative Just add to the one on the wiki, cake lovers will worship you forever. 2) master layout for a multipart

Re: Mail templates

2006-06-30 Thread Attila
Thanks, now it starts to get together, also part 3 and 4 seem to work - in principle - now. The email templates in /views/elements/email/ is good, I like that. I'm finishing the application now (deadline!) and then I'll post the working code. cakePHP rocks!

Re: Mail templates

2006-06-29 Thread Attila
So you guys are just sending out either html only email (wiki example) or text only emails (matt's example). How about mime multipart alternative? The same email in a text version and in a html version, so that everybody can see it? I'm porting a nice website to cakephp, and I would like to

Mail templates

2006-06-24 Thread Timm
I want to send several emails in my Cake PHP app. Is there a way to make use of the existing template system in Cake? I do not want to specify the message body directly in the code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Mail templates

2006-06-24 Thread RosSoft
see the wiki, there're tutorial for sending email using the templates of cake --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Mail templates

2006-06-24 Thread Timm
Thanks alot. I searched for mail with the help of the wiki search but nothing turned up. After you pointed out that there are some articles dealing with this topic, I looked at the table of contents on the front page of the wiki and discovered some useful tutorials.