Thibaud Thibaud - 3 years ago 114
PHP Question

PHP mailing only work with my servermail

I've already check link on stackoverflow and i did not find answer.

My issue is :

I have a website with a contact page.
It takes the following fields :

  • Name

  • Email

  • Subject

  • Message

When i click on submit, i get an email only if the email address is that of my personnal server.

I use apache2, php7.0.

I don't how to fix this issue and always send contact mail with my private adress.

Sorry for my english and thanks for answering !


Answer Source

Solved : Problem in the variable instanciation in my code.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download