Re: Mail Headers problem.......
| From: | Analysis & Solutions | Date: | Fri, 24 May 2002 04:55:10 +0000 |
| Subject: | Re: Mail Headers problem....... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99047@lists.php.net to get a copy of this message | ||
On Thu, May 23, 2002 at 10:19:51PM -0500, CDitty wrote:
> $to = "$user_email[0]";
> $subj = "$Subject";
> $msg = "$Message";
>
> $headers = "From: $From[1]\n";
> $headers .= "$Mime_Version\n";
> $headers .= "$Content_Type\n";
You're not showing us how you come up with the $From[1], $Mime_Version
and $Content_Type variables. I'm guessing the $Mime_Version is only
getting "Status:\n" stuck into it. Then, your $headers string adds the
extra "\n" which results in the following output you're showing...
> Subject: test
> From: XXXXXXX@redhotsweeps.com
> Status:
>
> Content-type: text/plain; charset="us-ascii"; format=flowed
>
> test 1234
Later,
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409