Black Friday Sale Discount Offer- Save 25% with code BF2020 on all products and license extension order SHOP NOW

Sending Email

You send email from our plugin without caring about the mail setup with our mailer library, below shows an example of how to send a mail with the mailer class

# mailer()

This function return you a new instance of Mailer class found in the core.php file and it can be use as below

mailer()->setAddress('[email protected]')->setSubject('Just testing.....')->setBody("I said am just testing ")->send();

The mail object will make use of the mail setup from the admin panel so you don't need care about that

 

Thanks for reading