ini_set("SMTP","xxxx@example.com"); ini_set("smtp_port","25"); ini_set("sendmail_from", 'xxxx@example.com'); $to = "xxxx@example.com"; $subject = "test from localhost"; $msg = "I completely understand SMTP servers now!"; $headers = "From: localhost@localhost.com\nReply-To: localhost@localhost.com"; $config = "-stfu@noob.com"; mail("$to", "$subject", "$msg", "$headers", "$config"); echo "finished!";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)