Answer the question
In order to leave comments, you need to log in
PHP bug on godaddy hosting?
Hello everyone, there was a problem when working with godaddy hosting, everything works fine on beget hosting, I’ll get to the point, a request is made to the database, I get an array with $result data, I translate it into json format using the json_encode () function and send it to the mail, the array comes to the mail with key "client_email" and value "[email protected]", but if I send $result["client_email"] an empty message comes to mail, also if I send $result["client_email"] . "AA", then comes [email protected] This happens with all lines that end in mail.ru, all other lines, for example [email protected], come normally.
Answer the question
In order to leave comments, you need to log in
I decided by changing the from property from example.com to Mail that is linked to the hosting
Take a normal ready-made client in php and try to send you never know what needs to be screened when sending.
https://swiftmailer.symfony.com/docs/introduction.html
if it doesn't work then attach a demo with fake data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question