All pastes #155947 Raw Edit

Untitled

public php v1 · immutable
#155947 ·published 2006-08-31 13:17 UTC
rendered paste body
function envoiMail($to, $sujet, $message){        $headers = "MIME-Version: 1.0\n";        $headers .= "Content-type: text/html; charset=iso-8859-1\n";        $headers .= "From: Extranet Courtinea <contact@courtinea.com\n>";        $result = mail($to, $sujet, $message, $headers);        return $result;}