Re: Problem sending with mail()
| From: | r a n d y | Date: | Tue, 01 Aug 2000 23:23:12 +0000 |
| Subject: | Re: Problem sending with mail() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9597@lists.php.net to get a copy of this message | ||
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@oih.rwth-aachen.de>
> Date: Wed, 02 Aug 2000 00:40:01 +0200
> To: PHP General <php-general@lists.php.net>
> 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@oih.rwth-aachen.de
> ____________________________________________________________________
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net