LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP Website with e-mail forms, what mail daemon? (https://www.linuxquestions.org/questions/linux-software-2/php-website-with-e-mail-forms-what-mail-daemon-340264/)

gbkyle 07-05-2005 12:05 PM

PHP Website with e-mail forms, what mail daemon?
 
I did not design the website or anything but It's got a mail form on it. I want to know what I would use to make this thing work. I noticed in the PHP.ini theres

Code:

[mail function]
; For Win32 only.
SMTP = localhost

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =

Would i use sendmail to accomplish this? Maybe qmail? After thats done, any extra configuration needed or do i just plug the information into the php.ini ... thank you :)

Nylex 07-05-2005 12:33 PM

Not sure about other MTAs, but clearly sendmail would work. I assume you could just install it and then set the path in php.ini. My php.ini doesn't have the path set, but it's set somewhere (as <? phpinfo(); ?> has sendmail_path set). Not sure how much configuring you'd need to do for sendmail, my server doesn't actually work (I get error messages when it tries to send mail), but PHP can communicate with it anyway.


All times are GMT -5. The time now is 02:44 PM.