0

Good Evening,

I'm trying to send an e-mail using php function mail

$to = $_POST['Mail'];
$subject = 'Test Mail';
$headers = 'Mime-Version: 1.0'."\r\n";
$headers .= 'Content-type: text/html; charset=utf-8'."\r\n";
$headers .= "\r\n";
$msg = 'Test Mail Sender';
mail($to, $subject, $msg, $headers);

But my probleme is that there is no error that pop's up when i execute this code but the message never arrives to the destination

Funk Forty Niner
  • 74,450
  • 15
  • 68
  • 141
khaled
  • 3
  • 2

0 Answers0