V
V
Vanes Ri_Lax2017-07-25 15:57:46
linux
Vanes Ri_Lax, 2017-07-25 15:57:46

What is the correct way to configure sendmail to send mail?

Good afternoon,
I installed sendmail on the server, I need to make sure that when I write the mail () function in PHP, sendmail connects via SMTP to the mail.ru server and sends mail through it. I know what to write in PHP.ini, but how to configure sendmail itself?
Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Burov, 2017-07-25
@vanesxl

https://wiki.archlinux.org/index.php/SSMTP
igorka.com.ua/2013-10-17/nastrojka-pochty-ssmtp-dl...

A
Alexey Cheremisin, 2017-07-25
@leahch

If there are few letters, then it is better to immediately connect to mail.ru and send mail through it.
Well, if you still want to use your own mail server, then install postfix, exim or opensmtpd. I'm for the last option. Only you have yet to set up at least sfp and dkim.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question