![]() |
Tina4Stack
v1.0.1
The Tina4 Stack
|
Public Member Functions | |
__construct ($bulkSMSUsername="", $bulkSMSPassword="") | |
sendMail ($recipient, $subject, $message, $fromName, $fromAddress, $attachments=null) | |
prepareHtmlMail ($html, $eol, $boundary_rel, $boundary_alt) | |
sendText ($mobileno, $message="", $countryPrefix="01") | |
sendSMS ($mobileno, $message="", $countryPrefix="27") | |
formatMobile ($celno, $countryPrefix="27") | |
Emma is part of the Tina4 stack which allows you to easily send emails from your system without crazy configuration, emma can also read emails from an inbox you may have
Emma::__construct | ( | $bulkSMSUsername = "" , |
|
$bulkSMSPassword = "" |
|||
) |
Emma::formatMobile | ( | $celno, | |
$countryPrefix = "27" |
|||
) |
Format the Mobile Number
String | $celno | Mobile number to send with |
String | $countryPrefix | 1 - america, 27 - south africa |
Emma::prepareHtmlMail | ( | $html, | |
$eol, | |||
$boundary_rel, | |||
$boundary_alt | |||
) |
Emma::sendMail | ( | $recipient, | |
$subject, | |||
$message, | |||
$fromName, | |||
$fromAddress, | |||
$attachments = null |
|||
) |
A function that will send a confirmation email to the user.
The sendMail function takes on a number of params and sends and email to a receipient.
String | $recipient | This can be a String or Array, the Array should be ; delimited |
String | $subject | The subject for the email |
String | $message | The message to send to the Receipient |
String | $fromName | The name of the person sending the message |
String | $fromAddress | The address of the person sending the message |
String | $attachments | An Array of file paths to be attached in the form array ( array( "filename", "path" ) ) |
Emma::sendSMS | ( | $mobileno, | |
$message = "" , |
|||
$countryPrefix = "27" |
|||
) |
Send SMS
String | $mobileno | |
String | $message | |
String | $countryPrefix |
Emma::sendText | ( | $mobileno, | |
$message = "" , |
|||
$countryPrefix = "01" |
|||
) |
Alias of send SMS
$mobileno | ||
string | $message | |
string | $countryPrefix |