So, my problem are:
1- When I send an email, it seems to work properly, but I never receive the email
2- When I send an email, "The email was sent" on top does not appear
The problem are two tiny lines in my .htaccess.
I already modified the .htaccess so the "index.php" does not appear automatically when the user types
http://www.mywebsite.comBut, even if the index.php does not appear when I write "http://www.mywebsite.com", if the user write
http://www.mywebsite.com/index.php , my .htcaccess won't remove the index.php.
To remove that, I added those two lines to my .htacces:
#RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.php(/[^\ ]*)?\ HTTP/
#RewriteRule ^index\.php(/(.*))?$ /$2 [R=301,L]
So, how can fix my .htaccess, so the user will always be redirected when he writes the "http://www.mywebsite.com/index.php" or "http://www.mywebsite.com/index.php/contact" without impacting the sending of emails.
p.s:
http://www.mywebsite.com is not mine, i just took this name as an example.