title: How to use templates or dynamic content for php email sending
body: <p>PHPMailer is a good option to send email, and mail() function too, but the thing is that generating dynamic content for the email body, and subject are not the best.</p>
  
  <p>for example I've created a php file with the body templates or a class with the same, but are so difficult to maintain.</p>
  
  <p>What do you recomend for organizing that code?</p>
  
  <p>Is there a Way to create email templates? (like twig).
  How do you organize folders and files?
  Is there any doc recommendation for that?
  thanks for your help</p>