stupid identation prob
| From: | Christian Dechery | Date: | Tue, 26 Dec 2000 20:18:05 +0000 |
| Subject: | stupid identation prob | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31874@lists.php.net to get a copy of this message | ||
This is kinda of a stupid problem...
how can I keep my mails from getting the identation?? like this... I have some code:
<?php
$var = somefunction();
$do some code here and bla bla;
for (something)
{
do stuff in here;
bla bla;
}
/* now sending the email */
mail("someone@isp.com","me@home.com","test mail","body of email.... /* (here is my question) */
?>
the email will probably be some large amount of text, and I don't want it to be huuuuge monster line with tons of \n in my code like this:
"Hi, Someone\n\nbla bla bla blablabla\n\n bla bla bla bla\nblablabla\n\nblablablabla\n\nRegards, Me."
instead I'd like to ident this monster string with the rest of my code... something like:
mail("someone@isp.com","me@home.com","test mail","body of email....\n
lalalalala bla bla bla\n
bla bla bla bla\n\n
bla bla bla bla\n\n
bla bla bla\n\n
Regards, Me");
this doesn't works... it gets all tabs and (not it Eudora, since it converts it to <x-tab> and it actually looks pretty neat) makes the email real crapy looking...
does anyone has any ideas???
thanks...
____________________________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer