P
P
Pavel5682020-05-29 19:02:53
PHP
Pavel568, 2020-05-29 19:02:53

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

2 answer(s)
P
Pavel568, 2020-08-23
@Pavel568

I decided by changing the from property from example.com to Mail that is linked to the hosting

A
Alexander N++, 2020-05-29
@sanchezzzhak

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 question

Ask a Question

731 491 924 answers to any question