Answer the question
In order to leave comments, you need to log in
How to send authorized Mail from a PHP site?
Hello,
I have a PHP site hosted by BeGet. From the site I send mail to clients using the mail () functions; and that's where the problem starts.
I connected the domain to Yandex mail for the domain, set up a DKIM record and also changed the SPF to
v=spf1 ip4:91.106.207.31 include:_spf.yandex.net ~all
where "91.106.207.31" is the IP of the server where my site is located. Well, this is for mail with the name of my domain to be sent from my site and from Yandex. Answer the question
In order to leave comments, you need to log in
send via SwiftMailer, he will send via Yandex, he did it a hundred times. you will only need to specify the login / password from the box.
You need to configure the MTA on the server that is responsible for sending emails (exim, sendmail, postfix), if you google it you can find it. The setting is to attach a DKIM public key to each letter.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question