Re: [PHP] Email question
- From: mrsquash2@xxxxxxxxx ("Dan Shirah")
- Date: Wed, 31 Oct 2007 16:54:13 -0400
Couldn't you just use the wordwrap function? Something like this:
$my_text = "This is a story all about how my life got flipped turned upside
down. I'd like to take a minute just sit right there, I'll tell you how I
became the Prince of a town called Belaire."
$my_wrapped_text = wordwrap($my_text, 60, "<br />\n");
So, you can create a new variable, then user the word wrap function, inside
the function pass it the variable that contains your unaltered text, then
tell it how long the maximum line length should be, put in a page break and
the new line operator and you should be good to go.
Your message is formatted to wrap at whatever length you desire.
Hope that helps.
On 10/31/07, Andrew Ballard <aballard@xxxxxxxxx> wrote:
On 10/31/07, Jake <linux@xxxxxxxxxxxxxxxxx> wrote:
What is a =20 at the end of a line in an email?
It is a space character when the message is encoded using
quoted-printable encoding.
Andrew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
- References:
- Email question
- From: "Jake"
- Re: [PHP] Email question
- From: "Andrew Ballard"
- Email question
- Prev by Date: Re: [PHP] Email question
- Next by Date: MIME email = Content-ID in CSS not supported
- Previous by thread: Re: [PHP] Email question
- Next by thread: MIME email = Content-ID in CSS not supported
- Index(es):