How to use PHPMailer in MVC file structure

1

I need to use PHPMailer and my project has the MVC structure, but I do not know how to organize the files in my models. I have the following file structure:

root/   
  ajax/   
  controllers/   
  core/
    phpmailer/
        class.phpmailer.php
        class.smtp.php
        PHPMailerAutoload.php
    core.php
    model.php
    controller.php   
  designer/   
  front/   
  models/
     Email.php

Will I do it?

    
asked by anonymous 10.03.2017 / 19:30

0 answers