Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = "exampleID@example.com"; // i replace examples with my actual mail
- $subject = "Run through Cron";
- $message = "Hello! This is a simple email message.";
- try
- {
- mail($to,$subject,$message);
- }
- catch (Exception)
- {
- echo 'Error sending';
- die;
- }
- echo "Mail Sent";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement