Trying to get PHP to send smtp through sendmail 8

Reply

Join Date: Apr 2006
Posts: 34
Reputation: Joncamp is an unknown quantity at this point 
Solved Threads: 0
Joncamp Joncamp is offline Offline
Light Poster

Trying to get PHP to send smtp through sendmail 8

 
0
  #1
Jun 15th, 2006
I don't know how to configure my sendmail8 system, is sendmail a mail server? Why don't PHP send mail() through the sendmail8 system?

Thanks:mrgreen:
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 64
Reputation: trafficman is an unknown quantity at this point 
Solved Threads: 0
trafficman's Avatar
trafficman trafficman is offline Offline
Junior Poster in Training

Re: Trying to get PHP to send smtp through sendmail 8

 
0
  #2
Jun 21st, 2006
You can assign the sendmail program or any other smtp program for sending email for php.

You need to change a line from the php.ini file (the path to your stmp program).
char after char, word after word... leads to a website then a network...
Linkstraffic - Web Directory - Web Site Traffic
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 26
Reputation: shaocpa is an unknown quantity at this point 
Solved Threads: 0
shaocpa's Avatar
shaocpa shaocpa is offline Offline
Light Poster

Re: Trying to get PHP to send smtp through sendmail 8

 
0
  #3
Jun 22nd, 2006
agree with "trafficman"

you must change a line from the php.ini file
------------------------------------------------------
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
-----------------------------------------------
Colin Shao
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2301 | Replies: 2
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC