K
K
Kryptonit2020-07-24 21:34:03
PHP
Kryptonit, 2020-07-24 21:34:03

How to send emails from a form on a website via postfix?

I have a website and it has a submit form. There is a handler (send.php) in the site directory, it should send the form via mail(). Naturally, he doesn't. I configured mail() in php.ini, now it at least responds to messages, but does not send mail, then I installed postfix, it is fully working. Question: how to link php and postfix.
Maybe I searched the Internet badly, or maybe there is an easier way. What options are there and is it possible to implement what I want through postfix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question