Thursday, July 29, 2010

Re: Email Component

On Jul 29, 3:25 pm, huoxito <huox...@gmail.com> wrote:
> Yes i got that, but what i found strange is that the cakebook says we
> have to create 'html' and 'text' in both views and elements
> directory....

Where does it say that ( I think you're misreading something ).

>
> besides why would i use both 'text' and 'html' if one of them is
> enough to customize my emails...

If you plan on sending out text-only emails that's a fair argument. if
you're thinking of sending out html-only emails well ...

>
> and when we set the template using the Email Component it seems to
> refer to the files in the views/elements/email directory

Exactly like it says on the tin (in the book) :)

> and no the
> ones in views/email directory

where did you read it would look in views/email?

rgds,

AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: