Advertisement
smaction

Beginning of script to use PHPMailer

Jan 3rd, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Created by PhpStorm.
  4.  * User: scott
  5.  * Date: 12/17/18
  6.  * Time: 12:07 PM
  7.  */
  8.  
  9. // Import PHPMailer classes into the global namespace
  10. // These must be at the top of your script, not inside a function
  11. use PHPMailer\PHPMailer\PHPMailer;
  12. use PHPMailer\PHPMailer\Exception;
  13.  
  14. //Load Composer's autoloader
  15. require 'vendor/autoload.php';
  16. include('Rework.php');
  17. include('DateTimeStuff.php');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement