Re: [PHP] Sendmail doesn't send...
Look in var/log/maillog or similar for errors - Original Message - From: Nightshade [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 3:18 PM Subject: [PHP] Sendmail doesn't send... Hi, that's my configuration: I've Mdk 8.2 Today I've installed sendmail for 1st time... I tryed to use mail() function, but effectively works only when I send mail to [EMAIL PROTECTED] no mails go to the other local user, and specially to external user: i.e. mail([EMAIL PROTECTED],$subj,$msg); Any idea? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail doesn't send...
Adi wrote: Look in var/log/maillog or similar for errors - Original Message - From: Nightshade [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 3:18 PM Subject: [PHP] Sendmail doesn't send... [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED];for win32 only sendmail_path = /usr/sbin/ ;for unix only, may supply arguments as well (default is sendmail -t) what's wrong on my config? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail doesn't send...
I don't have the /usr/sbin in mine (I left it at the default blank) and it works. Can an ordinary user send emails to the destinations you are trying to get to with PHP? If not, then you have a sendmail configuration issue. HTH Chris Nightshade wrote: [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED];for win32 only sendmail_path = /usr/sbin/ ;for unix only, may supply arguments as well (default is sendmail -t) what's wrong on my config? tnx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail doesn't send...
On Wed, Jun 26, 2002 at 03:52:48PM +0200, Nightshade wrote: SMTP= localhost ;for win32 sendmail_from = [EMAIL PROTECTED];for win32 only sendmail_path = /usr/sbin/ ;for unix Try commenting out the sendmail_path line with a ; at the beginning of the line. Also, mail() only works for me when I'm connected to the internet. Are you? --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sendmail doesn't send...
On Wednesday 26 June 2002 21:52, Nightshade wrote: [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED];for win32 only sendmail_path = /usr/sbin/ ;for unix only, may supply arguments as well (default is sendmail -t) what's wrong on my config? Are you using unix/linux? If so, then IIRC the sendmail_path is misleading, it actually wants the path and file. Thus: sendmail_path = /usr/sbin/sendmail Usually if your sendmail is in the standard place then leaving sendmail_path empty is fine. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* Only a fool fights in a burning house. -- Kank the Klingon, Day of the Dove, stardate unknown */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php