Just write "\n"
Examples:
<?php echo "\n";?>
<?php echo $name . "\n";?>


On Dec 5, 1:44 pm, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
> Well...that's not supposed to happen. Can you check the mail source
> and mime headers? Maybe you're not sending your email in plain text..?
>
> On Dec 5, 1:11 pm, Hipnotik <[EMAIL PROTECTED]> wrote:
>
> > On 5 Gru, 12:35, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > > What about simply hitting the enter key? :)
>
> > Doesn't work... displays all lines in one :(
>
> > > On Dec 5, 12:14 pm, Hipnotik <[EMAIL PROTECTED]> wrote:
>
> > > > How to add line break in text mail layout?
>
> > > > It's in elements/email/text/default.ctp file.
> > > > I tried to use:
> > > > \n
> > > > \r\n
> > > > \r
> > > > and still it doesn't work correct.
> > > > It breaks the lines but new line character (i.e. \n) appears in the
> > > > received message too.
>
> > > > How to do that?
> > > > Thanks for help ;)
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to