Date: 08/01/00
- Next message: Troy Hakala: "[PHP] extensions & shared code"
- Previous message: Chris Adams: "Re: [PHP] A better way of displaying query"
- In reply to: Alexander Dohmen: "[PHP] Problem sending with mail()"
- Next in thread: Mulga Web Services: "Re: [PHP] Problem sending with mail()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Troy Hakala: "[PHP] extensions & shared code"
- Previous message: Chris Adams: "Re: [PHP] A better way of displaying query"
- In reply to: Alexander Dohmen: "[PHP] Problem sending with mail()"
- Next in thread: Mulga Web Services: "Re: [PHP] Problem sending with mail()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

