PHP Enviar email em HTML

Estou tentando enviar um email em HTML através do PHP, mas não consigo fazê-lo funciona

Este é o meu código:

    // multiple recipients
    $to  = 'mail';

    // subject
    $subject = 'Subject';

    // message
    $message = "
    <html>
    <head>
      <title>Thanks</title>
    </head>
    <body>
        <div>
            <b>Thanks for your email</b>
        </div>
    </body>
    </html>
    ";

    // To send HTML mail, the Content-type header must be set
    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

    // Additional headers
    $headers .= 'To: info <[email protected]>' . "\r\n";
    $headers .= 'From: Pynix <[email protected]>' . "\r\n";

    // Mail it
    mail($to, $subject, $message, $headers);

Isso também não mostra nenhum remetente quando eu o recebo no Outloo

Alguma ideia?

Obrigad

questionAnswers(3)

yourAnswerToTheQuestion