[plug] PHP Mailing App and message wrap

John Clayton mageaere at hotmail.com
Wed Oct 29 20:00:01 WST 2003


>I currently have a PHP mailing app for a web site that sends a message to 
>one of 3 predefined recipients. I have it all working except getting the 
>text to wrap in the email. The multiline text box in the HTML form has 
>wrap="PHYSICAL" which wraps the text appropriately when typed in but the 
>email message sent still doesn't wrap the text in the email. Each line 
>appears on 1 line till the email client automatically wraps it. The text 
>box is set at 80 columns which i think is adequet for wrapping. I just want 
>it to automatically wrap.
>Thanks
>Tim
Pipe the string from the form into a function that inserts a \n every x 
number of characters.

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list