Yes, I apologize, on my own wave, in my thoughts)))) I work in laravel there are settings for smtp

MAIL_DRIVER = mail MAIL_HOST = smtp.gmail.com MAIL_PORT = 465 MAIL_USERNAME=example@gmail.com MAIL_PASSWORD = somepassword MAIL_ENCRYPTION = ssl

and there is a function for sending mail:

function ($ mail) {$ m-> from (); $ m-> to (example@gmail.com); $ m-> subject ('New REQUEST'); }

the actual field to this to whom the mail goes, the field from from whom, from this field, the data is automatically inserted into the form when you click "reply" in the mailbox. For example, if the client sends a request to me from the site, then the mailbox specified by him will be substituted in the from field. I will receive a letter as if it was sent from this client.

The problem is that if the client has mail.ru mail, then the letters are not forwarded, any other mail, such as gmail, Yandex, then everything works

  • What? Explain in more detail. What does the "from" field mean? Is this where you send the letter or what do you substitute in the letter in the appropriate field? - gecube pm
  • I apologize, I fixed the question myself, I hope it’s clearer) - Mykyta Popov
  • 2
    I think the problem is this: m.habrahabr.ru/company/mailru/blog/282602 - gecube

0