Problem with function mail() PHP

software development

#1

Hi,

I’m in France, I don’t speak very well English. I have a new customer which have open a new DreamHost’s Host. We have transfert PHP files it’s OK!!! But we don’t know how to send PHP mail. The script is good in my server but with DreamHost, we have no errors, but we don’t receive email.

The simplify PHP code for testing is :
$headers = ‘From: contact@antoine-immobilier.com’ . “\r\n” . ‘Reply-To: contact@antoine-immobilier.com’ . “\r\n” ;
mail ( ‘contact@anjouweb.com’, ‘sujet test’, ‘message test’, $headers );

Have you got an idea please?

Manu ( Anjou Web - www.anjouweb.com )