logo       

Re: Mail Headers problem.......: msg#03592

php.general

Subject: Re: Mail Headers problem.......

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@xxxxxxxxxxxxxxxx
> 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise