Vanilla-framwork
A simle MVC framework implimentation using php , no additonal 3rd party are used (Vanilla Php);
Email Support
Configuration for email suport is easy
Navigate to App > Config > app.php
define('Host_', '');
define('SMTP_Auth_', true);
define('User_Name_', '');
define('Password_', '');
define('Port_', 100);
Within your controllers methord use any of the ezamples
//example 1
$this->mail->sendEmail(
'[email protected]', //message recipient
'subject', // subject
'message to be sent' // actual email
);
//example 2
$this->mail->sendEmailHTML(
'[email protected]', //message recipient
'subject', // subject
'Test
' // actual email
);
//example 3
$this->mail->sendEmailWithAttachment(
'[email protected]', //message recipient
'subject', // subject
false,//has html content or true
'Test', // email body or Test
[ 'var/files/test.docs', 'var/files/atachment.docs'] , //array of files
);