Answers for "php envio de mail"

PHP
0

php envio de mail

$to = "[email protected]";
$subject = "Asunto del email";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
 
$message = "
<html>
<head>
<title>HTML</title>
</head>
<body>
<h1>Esto es un H1</h1>
<p>Esto es un párrafo en HTML</p>
</body>
</html>";
 
mail($to, $subject, $message, $headers);
Posted by: Guest on April-08-2021

Browse Popular Code Answers by Language