954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Trying to get PHP to send smtp through sendmail 8

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:

Joncamp
Light Poster
34 posts since Apr 2006
Reputation Points: 10
Solved Threads: 0
 

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).

trafficman
Junior Poster in Training
64 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

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 = [EMAIL="me@example.com"]me@example.com[/EMAIL]
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
-----------------------------------------------

shaocpa
Light Poster
26 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You