Click here to Skip to main content
15,031,208 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
webpage values send to our email using scripting without outlook
Posted
Comments
enhzflep 23-Feb-13 2:46am
   
<?php // The message
$message = "Line 1\nLine 2\nLine 3";

// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);

// Send
mail('caffeinated@example.com', 'My Subject', $message);
?>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900