During my daily life as web developer i’ve always had the necessity to send email using PHP, after some time using PHPMailer i decided to create a wrapper (very simple) to it in order to:
- parse template files containing markers to create dynamic html content to use as email’s body
- send emails without having to createexplicitly an instance of PHPMailer’s main class