Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 12th, 2003, 04:02 AM
isar21 isar21 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 2 isar21 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
php and sendmail

hi,
I try to use php and sendmail on my mac.
so far I managed to make sendmail run, but it doesenīt work with php.
whenever I try to send a mail using the mail(); or popen(); command of php, I got this in my mail.log:

Aug 12 10:01:07 bruno sendmail[462]: starting daemon (8.12.9): queueing@01:00:00
Aug 12 10:29:12 bruno sendmail[448]: File descriptors missing on startup: stdin, stdout, stderr; Bad file descriptor
Aug 12 10:29:12 bruno sendmail[448]: gethostbyaddr(192.168.0.2) failed: 3
Aug 12 10:29:12 bruno sendmail[459]: starting daemon (8.12.9): SMTP+queueing@01:00:00
Aug 12 10:29:12 bruno sendmail[461]: File descriptors missing on startup: stdin, stdout, stderr; Bad file descriptor
Aug 12 10:29:12 bruno sendmail[462]: starting daemon (8.12.9): queueing@01:00:00

...and nothing happens :-(

I have set the sendmail_path in the php.ini to:
sendmail_path= /usr/sbin/sendmail

any ideas what is wrong there ?

thanks a bunch
stephan

Reply With Quote
  #2  
Old August 15th, 2003, 10:38 AM
FrankieShakes FrankieShakes is offline
Frank The Tank!
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: Jun 2002
Location: Toronto, Canada
Posts: 1,246 FrankieShakes User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to FrankieShakes Send a message via MSN to FrankieShakes
Stephan,

Is your sendmail configured properly? Do you have it using your ISP's servers for outgoing mail?
__________________
____________________________________________
Developer Shed Weekly Writer | DevArticles Forum Moderator
Build Your Own KlipFolio Klip With PHP
FrankManno.com - Under Construction
Design Interactive Group - Under Construction

Reply With Quote
  #3  
Old August 15th, 2003, 02:00 PM
isar21 isar21 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 2 isar21 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sendmail

actually sendmail was not configured properly. I didnīt know that I have to use masquerading to use sendmail for testing porpuses, without a ISP.

now I have found a very easy way for mac users to enable sendmail.
thanks to bernard teo who has written the "sednmail enabler", it takes just 2 minutes to make sendmail run on a OS X mac.

URL

with the soon to be released version 1.1.3 even masquerading is a cakewalk, I have tried it by myself.

thanks for your help
/s

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > php and sendmail


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway