Re: mail()
| From: | Jason Brooke | Date: | Fri, 01 Sep 2000 22:05:43 +0000 |
| Subject: | Re: mail() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14884@lists.php.net to get a copy of this message | ||
Try linking /usr/bin/sendmail and /usr/lib/sendmail to
/var/qmail/bin/sendmail like the qmail instructions tell you, and then
remove the entry in php.ini that specifies the sendmail path and let it use
the inbuilt-defaults
jason
> Removing the "\n" did not change anything.
>
> Here is what phpinfo() showed about the mail program:
>
> Extensions (section)
> Sendmail Path to sendmail: /var/qmail/bin/sendmail
>
> Configuration (section)
> sendmail_path /var/qmail/bin/sendmail
/var/qmail/bin/sendmail
>
> Tim Wolgemuth
> OneMain.com
> At 10:11 AM 9/1/00 -0400, you wrote:
> >Have you tried removing the '\n'??? What does 'phpinfo();' show you in
regards
> >to your mail program??
> >
> >
> >Tim Wolgemuth wrote:
> > >
> > > I have tried removed the "\" from the script. I made not change.
> > >
> > > I am able to sent from the command prompt. So qmail is working.
> > >
> > > The disk is not full.
> > >
> > > Any other suggestions.
> > >
> > > Tim Wolgemuth
> > >
> > > At 11:32 AM 9/1/00 +0900, Maxim Maletsky wrote:
> > > >try to set it as follows:
> > > >
> > > >
> > > >Mail('tim@wolgemuth.cc','test','this is a test
> > > >message\n');
> > > >
> > > >There's no need to escape from '@' but if you have some other
> > > >strange
> > staff
> > > >then use single quote (') and it will not parse your string: means
you can
> > > >have there anything but not (') which (guess what?) you;ll have to
escape
> > > >with \
> > > >
> > > >Chers!
> > > >
> > > >-----Original Message-----
> > > >From: Tim Wolgemuth [mailto:tim@wolgemuth.cc]
> > > >Sent: Friday, September 01, 2000 12:55 AM
> > > >To: php-general@lists.php.net
> > > >Subject: [PHP] mail()
> > > >
> > > >
> > > >I am having a problem with getting the mail() function to work.
> > > >
> > > >Here is the code:
> > > >
> > > >Mail("tim\@wolgemuth.cc","test","this is a test
> > > >message\n");
> > > >
> > > >Here is the error in the error log:
> > > >
> > > >qmail-inject: fatal: read error
> > > >
> > > >Here is the line in php3.ini:
> > > >
> > > >sendmail_path = /var/qmail/bin/sendmail
> > > >
> > > >I have also tried:
> > > >
> > > >sendmail_path = /var/qmail/bin/qmail-inject
> > > >
> > > >With the same error.
> > > >
> > > >I am using php 3.0.16
> > > >
> > > >
> > > >Tim Wolgemuth