Working Directory (ex: cakeshop에서)<br />
composer require phpmailer/phpmailer  한 후<br />
아래 code 붙인다<br />
use PHPMailerPHPMailerPHPMailer;<br />
use PHPMailerPHPMailerSMTP;<br />
use PHPMailerPHPmailerException;<br />
require vendorautoload.php <=사진참조