How are you calling it in the shell? Keep in mind the Email Component will need access to a controller if you plan on setting variables to give to the view template. Which may be why you're seeing the strange results via shell.
Nick On Apr 26, 5:05 am, weckmann <[email protected]> wrote: > Hi, > > I am using the email component for sending (themed) HTML emails... > > This works fine as long as I am doing this in "normal" web application > mode. > > But when I am doing the very same thing inside a Cake Shell task, my > template somehow gets messed up. > > Two problems occur: > > 1. More than 70 characters without a blank inbetween get splitted by a > line-break, which can break the HTML if the line-break comes at an > unfortunate place.. > > 2. When I am html-coding an email link like <a > href="mailto:[email protected]">....</a>, it removes the part: > "to:[email protected]">"... leaving the HTML broken again... > > The strange thing is that this only happens when using a shell... > The very same template using the same email component (Cake core) > works fine in normal web applications. > > Any help? > Thanks! > > Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group > athttp://groups.google.com/group/cake-php?hl=en 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
