Created
February 25, 2014 20:05
-
-
Save Ravenna/9216639 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Please specify your Mail Server - Example: mail.yourdomain.com. | |
ini_set("SMTP","mail.tridentseafoods.com"); | |
// Please specify an SMTP Number 25 and 8889 are valid SMTP Ports. | |
ini_set("smtp_port","25"); | |
// Please specify the return address to use | |
ini_set('sendmail_from', 'dnicholls@tridentseafoods.com'); | |
// Set parameters of the email | |
$to = "tj@ravennainteractive.com"; | |
$subject = "Test mail"; | |
$message = "Hello! This is a simple email message."; | |
$from = "dnicholls@tridentseafoods.com"; | |
$headers = "From: $from"; | |
// Mail function that sends the email. | |
mail($to,$subject,$message,$headers); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment