/**
* Class constructor
*/
- function __construct() {
+ public function __construct() {
parent::__construct();
}
* Store Mails into Spool table.
*
* @param $recipient
- * @param array $headers The string of headers to send with the mail.
+ * @param array $headers
+ * The string of headers to send with the mail.
*
- * @param string $body The full text of the message body, including any
+ * @param string $body
+ * The full text of the message body, including any.
* Mime parts, etc.
*
* @param int $job_id
* @return mixed Returns true on success, or a CRM_Eore_Error
* containing a descriptive error message on
* failure.
- * @access public
*/
- function send($recipient, $headers, $body, $job_id = null) {
+ public function send($recipient, $headers, $body, $job_id = null) {
$headerStr = array();
foreach ($headers as $name => $value) {
$headerStr[] = "$name: $value";
return TRUE;
}
}
-