This is a simple mail function.
App::Utility()->Mailing(Recipient, From, Subj, Body, Bcc);
Parameter |
Description |
---|---|
Recipient |
Recipient email address |
From |
From email address |
Sub |
Subject of the email |
Body |
Message of email |
Bcc |
Bcc address |
See bellow example:
App::Utility()->Mailing('jhon@example.com','info@example.com','Test Email','This is a test email');
/*
Return
Array
(
[r] => 170
[g] => 187
[b] => 204
)
*/