After playing around, it seems like I can do something like add a
period "." to the end of the line, and then the linebreak is properly
recognized.  However, simply adding a space character doesn't do the
trick.

It seems that if the line ends with a ?> tag, the line break is
ignored.  I'm not sure why this is the case.

I don't really want to put a period at the end of each line though, so
if anyone knows how to solve this, I'd greatly appreciate it!

Cheers,
Steve

On Apr 2, 3:23 pm, Steve the Canuck <[email protected]> wrote:
> No, it seems not, other than the first linebreak.  The email comes out
> as:
>
> A goalie has applied to play in your booking:
>
> From: 2009-04-03 10:00:00 To: 2009-04-03 11:00:00At: Varsity ArenaFor:
> Ice Hockey, Shinny, Level 
> Chttp://goaliegigs.local/frontend_dev.php/goalies/apply-for-booking/1
>
> It looks like I have to put in two line breaks for each line break I
> want to see?!
>
> On Apr 2, 1:13 pm, FÁSI Gábor <[email protected]> wrote:
>
> > Do you get the linebreaks in the source? You can check it with the
> > 'show original' menuitem under the downarrow.
>
> > On Thu, Apr 2, 2009 at 18:46, Steve the Canuck <[email protected]> 
> > wrote:
>
> > > Hi,
>
> > > I am sending plain text emails from my app using Swift Mailer.  The
> > > email bodies are all stored in partials.  What I am noticing is that
> > > the line breaks are not in the email when the email is received.  For
> > > example:
>
> > > A goalie has applied to play in your booking:
>
> > > From: <?php echo $reservation->getStartTime() ?> To: <?php echo
> > > $reservation->getEndTime() ?>
> > > At: <?php echo $reservation->getFacility()->getName() ?>
> > > For: <?php echo $reservation->getRefEventCategory() ?>, <?php echo
> > > $reservation->getRefEventType() ?>, <?php echo $reservation-
> > >>getRefLevel() ?>
> > > <?php echo url_for('@reservationApply?resId='.$reservation->getId(),
> > > true) ?>
>
> > > In the above email, all the lines are sandwiched together when I
> > > receive it, and the line breaks I put in are not being applied.  Is
> > > there anything I need to do?  I am both sending the emails and viewing
> > > them using Gmail.
>
> > > Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to