Host server says not on their side (Technics)

by Jean-Michel2 @, Wednesday, March 20, 2019, 09:13 (153 days ago) @ Micha

Hi Guys,


To be clear : I'm no expert, doing my best.

I got in contact with the forum host but they say the server is not responsible for the malfunction. So I'm stuck between MLF that seems to have sent the mail (?) and the host that says it's not on their side (?).

If MLF effectively sends the mail, how can I prove it to the Host ? Is there any log at MLF side that I can refer to or can this kind of logging be activated on demand?

Here is the test code they gave to me. Seems to be the same as in functions.inc
I tried with \r\n instead of \n in my_mail in functions_inc but did not change anything.

<?php
$to = 'destinataire@domaine.tld';
$subject = 'un nouveau sujet';
$message = "Ceci essaie d'envoi d'email";
$headers = 'From: votreadresse@domaine.tld' . "\r\n" .
'Reply-To: votreadresse@domaine.tld' . "\r\n" .
'Return-Path:votreadresse@domaine.tld'."\r\n".
'X-Mailer: PHP/' . phpversion();

// Send
if(mail($to, $subject, $message, $headers)){
echo "ok";
}else{
echo"non envoyé";
}


Complete thread:

 RSS Feed of thread

powered by my little forum