Your question, your audience. Choose who sees your identity—and your question—with question security.
<?php $to = "email@example.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "name@domaincom"; $headers = "From:" . $from; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?>
[mail function] ; For Win32 only. ; http://php.net/smtp SMTP = 192.x.x.x ; http://php.net/smtp-port smtp_port = 1677 Is what is in the old php.ini
Join the community of 500,000 technology professionals and ask your questions.