PHP Mail function?!


#1

So I’m using lam-poc to use php and tried the mail() function, but so far none of it works

PHP Code:

// the message
$msg = "First line of text\nSecond line of text";

// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);

// send email
$mail = mail("fnhdiscord@gmail.com","My subject",$msg);
if(mail) {
  echo 'Working!';
}
?>```