Re: [PHP-DB] Re: MySQL to Email and Line Breaks
Sure he could (and it might look a lot nicer if he did...), but: 1 he said he doesn't want to, 2 ASCII text can also be formatted (with line breaks, at least), 3 using HTML encourages email bloat, and 4 some email clients don't render HTML Regards, =dn > Hey, couldn't you just send the text as HTML and it would retain any > formatting? > > Bob > > "Jeff Oien" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a form where someone enters the body of an email message > > into a part of a form to be sent out to a list. Then a script > > retrieves the body and sends it via email. However I can't get line breaks > > to show up (I'm using MS Outlook) even if I enter the \n into the textarea > > form and those \n show up in the database data. I must be missing > > something. Thanks for any help. > > Jeff Oien > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: MySQL to Email and Line Breaks
Hey, couldn't you just send the text as HTML and it would retain any formatting? Bob "Jeff Oien" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form where someone enters the body of an email message > into a part of a form to be sent out to a list. Then a script > retrieves the body and sends it via email. However I can't get line breaks > to show up (I'm using MS Outlook) even if I enter the \n into the textarea > form and those \n show up in the database data. I must be missing > something. Thanks for any help. > Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DB] Re: MySQL to Email and Line Breaks
On the wrap= option, I have an HTML reference that mentions that IE4 used wrap=" off | physical | virtual".. i don't know if it supports it still but you might try it.. Bob "Jeff Oien" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tried wrap=hard already. I should have mentioned that. Sorry if this is > off topic. > Jeff Oien > > > You need a wrap= within your textarea.. You may need a couple if the > > browsers haven't come together on it yet.. But you can check it out here: > > > > http://www.blooberry.com/indexdot/html/tagpages/t/textarea.htm > > > > Just scroll down to wrap and check it out.. > > > > BTW, this seems like HTML help rather than PHP help.. > > > > Later, > > > > Bob Weaver > > > > "Jeff Oien" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > I have a form where someone enters the body of an email message > > > into a part of a form to be sent out to a list. Then a script > > > retrieves the body and sends it via email. However I can't get line breaks > > > to show up (I'm using MS Outlook) even if I enter the \n into the textarea > > > form and those \n show up in the database data. I must be missing > > > something. Thanks for any help. > > > Jeff Oien > > > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DB] Re: MySQL to Email and Line Breaks
I tried wrap=hard already. I should have mentioned that. Sorry if this is off topic. Jeff Oien > You need a wrap= within your textarea.. You may need a couple if the > browsers haven't come together on it yet.. But you can check it out here: > > http://www.blooberry.com/indexdot/html/tagpages/t/textarea.htm > > Just scroll down to wrap and check it out.. > > BTW, this seems like HTML help rather than PHP help.. > > Later, > > Bob Weaver > > "Jeff Oien" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a form where someone enters the body of an email message > > into a part of a form to be sent out to a list. Then a script > > retrieves the body and sends it via email. However I can't get line breaks > > to show up (I'm using MS Outlook) even if I enter the \n into the textarea > > form and those \n show up in the database data. I must be missing > > something. Thanks for any help. > > Jeff Oien > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DB] Re: MySQL to Email and Line Breaks
You need a wrap= within your textarea.. You may need a couple if the browsers haven't come together on it yet.. But you can check it out here: http://www.blooberry.com/indexdot/html/tagpages/t/textarea.htm Just scroll down to wrap and check it out.. BTW, this seems like HTML help rather than PHP help.. Later, Bob Weaver "Jeff Oien" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form where someone enters the body of an email message > into a part of a form to be sent out to a list. Then a script > retrieves the body and sends it via email. However I can't get line breaks > to show up (I'm using MS Outlook) even if I enter the \n into the textarea > form and those \n show up in the database data. I must be missing > something. Thanks for any help. > Jeff Oien -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php