E
E
ettaluni2021-08-26 19:42:03
linux
ettaluni, 2021-08-26 19:42:03

How to implement website mail service?

Good evening. For a site on Bitrix, you need to fasten the mailer so that sending mail works. I have never done this, I understand that I need to install something and register the mail parameters of the existing mailbox.
Debian 10 system, apache2 needs to send messages using PHP's mail method.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
B
Boris Syomov, 2021-08-26
@ettaluni

You can put some simple relay, such as msmtp, and use any mail service, such as Yandex or Google. There are many articles on setting this up and this is the simplest solution.
Cons - there is no queue, sending is done right when you call, and can slow down. If this is important, you can set up some kind of exim or postfix to work with smarthost, again, it's easy to google, but everything is already more complicated.

A
Andrey Gavrilov, 2021-08-26
@thexaver

Use ready-made smtp services like sendpulse, amazon ses

A
akelsey, 2021-08-26
@akelsey

If the service is on Amazon, then you can use local postfix or Exim for Amazon SES:
Integrating Amazon SES with Postfix
or
Integrating Amazon SES with Exim
Choose which solution you like best. Amazon SES costs money, it is also not a panacea, and it is also sometimes sent to the ban, not all mail will reach, but it will still be better if you try to configure your mail service.

A
Antonio Solo, 2021-08-26
@solotony

ettaluni , the easiest way is to use Yandex/Google/Mailru and send mail through them
and raising your relay is a bunch of hemorrhoids and something - and you will definitely need your own domain

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question