Re: [PHP] Whitespace in Emails

2006-12-15 Thread Richard Lynch
On Tue, December 12, 2006 2:23 pm, [EMAIL PROTECTED] wrote:
> I'm experiencing a strange problem and difficult to diagnose because
> it's random. I have built an application that sends out an email with
> a nice amount of text (don't have exact char count, but could get it).
>
> On the html email, a random whitespace appears in the content, but
> always toward the end pointing to a possible character count issue.
>
> See below for examples of how the space wanders and is random:
>
> 1- "Th ere are several things being discussed in this email."
> 2- "There are se veral things being discussed in this email."
> 3- "There are severa l things being discussed in this email."
>
> This whitepace issue happens after the email is sent.
>
> Anybody have any ideas?

If you have confirmed that it's happening AFTER php sends the email,
then you can be pretty sure it's not PHP doing it...

Also, sending html enhanced (cough, cough) email is probably the First
Problem. :-) :-) :-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Whitespace in Emails

2006-12-12 Thread Chris

[EMAIL PROTECTED] wrote:
I'm experiencing a strange problem and difficult to diagnose because 
it's random. I have built an application that sends out an email with a 
nice amount of text (don't have exact char count, but could get it).


On the html email, a random whitespace appears in the content, but 
always toward the end pointing to a possible character count issue.


See below for examples of how the space wanders and is random:

1- "Th ere are several things being discussed in this email."
2- "There are se veral things being discussed in this email."
3- "There are severa l things being discussed in this email."

This whitepace issue happens after the email is sent.

Anybody have any ideas?


The MTA is wrapping the text at 1,024 characters if you're not doing it. 
Use http://php.net/wordwrap to wrap it at specific lengths.


If it's a text-only email, add 'format=flowed;' to your headers:

Content-Type: text/plain; format=flowed;

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Whitespace in Emails

2006-12-12 Thread jennifer
I'm experiencing a strange problem and difficult to diagnose because  
it's random. I have built an application that sends out an email with  
a nice amount of text (don't have exact char count, but could get it).


On the html email, a random whitespace appears in the content, but  
always toward the end pointing to a possible character count issue.


See below for examples of how the space wanders and is random:

1- "Th ere are several things being discussed in this email."
2- "There are se veral things being discussed in this email."
3- "There are severa l things being discussed in this email."

This whitepace issue happens after the email is sent.

Anybody have any ideas?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php