Re: [PHP] Problem sending with mail() From: r a n d y (iduh_2000 <email protected>)
Date: 08/01/00

Dont't you have to put a "." before the $fd....like:
fputs($fd, blah blah blah);
fputs(.$fd, blah blah blah);
fputs(.$fd, blah blah blah);
fputs(.$fd, blah blah blah);

Just curious

randy
______________________________________________
 http://www.randys.org
     http://www.iduh.com
          http://www.digifont.com

For-pay Internet distributed processing.
http://www.ProcessTree.com/?sponsor=11087

> From: Alexander Dohmen <alex <email protected>>
> Date: Wed, 02 Aug 2000 00:40:01 +0200
> To: PHP General <php-general <email protected>>
> Subject: [PHP] Problem sending with mail()
>
> Does anybody know why i can not send mail via the mail() function?
> I'm using PHP 3.0.15 and qmail on my linux box. Is there a problem with
> qmail and PHP? I also tried the following with no result:
>
> $MP = "/usr/lib/sendmail -t";
> $fd = popen(MP,"w");
> fputs($fd, "To: $EMAIL\n");
> fputs($fd, "From: $FROM\n");
> fputs($fd, "Subject: $subject\n");
> fputs($fd, "Reply-To: $REPLYTO\n");
> fputs($fd, "X-Mailer: PHP\n\n");
> fputs($fd, $body);
> pclose($fd);
>
> So can anybody tell me, what's going wrong?
>
> --
> ____________________________________________________________________
> Alexander Dohmen mailto:alex <email protected>
> ____________________________________________________________________
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>