Thursday, March 26, 2009

Re: Email attachment through form.

On Mar 26, 12:15 pm, morc <questionmarc...@msn.com> wrote:
> Now I've been able to send the email with all the information without
> a problem. But Ive been googling and can't find a comprehensive
> explanation on how to add an attachment to the e-mail. Can anybody
> hear help me? or point me in the right direction?

If you're using the EmailComponent, then according to the CakePHP
manual, there is a class attribute called "attachments" which is an
array containing the full or relative paths of file(s) to attach to
the email mesage: http://book.cakephp.org/view/270/Class-Attributes-and-Variables
--~--~---------~--~----~------------~-------~--~----~
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: