You are here: Re: php mail() issues « PHP Programming Language « IT news, forums, messages
Re: php mail() issues

Posted by Michael Vilain on 05/30/06 23:05

In article <11u9xxz5w7gx6$.ye0g6zklx2ir.dlg@40tude.net>,
Chris <ngfb@chris-street.demon.co.uk> wrote:

> On Tue, 30 May 2006 12:26:14 -0700, Michael Vilain wrote:
>
> >>>
> >>> What's the setting for "sendmail_path" in your php.ini file?
> >>
> >> /usr/sbin/sendmail -t -i
> >>
> >> You can see the entire output here if that helps any more.
> >>
> >> http://80.176.79.35/phpinfo.php
> >>
> >> Thanks.
> >
> > And what happens when you type
> >
> > /usr/sbin/sendmail -t -i mail@myaddress.com
> > Subject: test
> > message
> > ^D
> >
> > in a shell?
>
> That works fine, also works if I run mail from the shell and send a mail
> from in there. I think that sendmail is setup OK (but could be wrong)
> >
> > If that fails, try using
> >
> > /usr/sbin/sendmail -t -v -i
> >
> > instead.
>
> Do you mean from the command line or modify the setting in php.ini? I've
> changed it in php.ini - still no joy I'm afraid.
>
> I don't need any extra rpm's for my PHP installation do I? My understanding
> was that all I needed was the base php for mail - I have that and php-mysql
> for the database backend

I'm running php on a Macintosh, so I can't comment on your specific
setup. When you say "it doesn't work", what happens? What status does
mail("mail@myaddress.com","subject", "body") return? What's in your log
for sendmail traffic, where ever you have it configured? Is it just not
working from inside php or does it actually go to sendmail, then fail?
What about the http log file for touching that page?

[just some SWAGs...]

--
DeeDee, don't press that button! DeeDee! NO! Dee...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация