Mail unexplanably truncated (errata corrige)
| From: | (Delbono) | Date: | Mon, 26 Jun 2000 23:17:26 +0000 |
| Subject: | Mail unexplanably truncated (errata corrige) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3240@lists.php.net to get a copy of this message | ||
SORRY, i had to say
$textfield7 is returned truncated, or, better
$textfield7 is truncated and whatever I put after $textfield is not
delivered via email.
I tried to put $textfield into $msg, with no success...
> Hi
>
> I'm facing a strange behaviour:
>
> i have this mail function call:
>
> mail("delbono@dsc.it", "Contact request from site.", $msg .
> "<br>MESSAGE:
> $textfield7 </body></html>", "From: $textfield6\r\nContent-Type:
text/html;
> charset=us-ascii");
>
> Well, $msg is sent truncated
>
> where $msg is:
>
> $msg ="";
>
> $msg = "<html><body bgcolor=\"#99ff00\"><font
> face='verdana'
> size=3><b>Contact request<br></b></font><br><table
> bgcolor=#00ce43
> cellspacing=2><tr><td align=right>";
>
> $msg = $msg . "<font color=#000000 size=1>Name &
> Surname:</font></td><td><b><font color=#000000 size=1> " .
> $textfield ." "
.
> $textfield2 . "</font></b><BR></td></tr>";
>
> $msg = $msg . "<tr><td align=right><font color=#000000 size=1>Company:
> </font></td><td><b><font color=#000000 size=1>" .
> $textfield3 .
> "</font></b><br></td></tr>";
>
> $msg = $msg . "<tr><td align=right><font color=#000000 size=1>Posittion:
> </font></td><td><b><font color=#000000 size=1>" .
> $textfield4 .
> "</font></b><br></td></tr>";
>
> $msg = $msg . "<tr><td align=right><font color=#000000
> size=1>Phone-fax:</font></td><td><b><font color=#000000
> size=1> " .
> $textfield5 . "</font></b><br></td></tr>";
>
> $msg = $msg . "<tr><td align=right><font color=#000000 size=1>E-mail:
> </font></td><td><a
> href='mailto:" . $textfield6 .
> "'><b><font
color=#0000ff
> size=1>" . $textfield6 .
> "</font></b></a></td></tr>";
>
> $msg = $msg . "</table><br><br>";
>
> $msg = stripslashes($msg);
>
> ############################################
>
> I tried to cut off "html" and "body" tags, same result. Message
truncated...
>
>
>
>
>
> (WINNT - IIS PHP 3.06)
>
>
>
>
>
> TIA
>
> Nicola
>
>
>
>
>
>