Campustream 1.0
A social network MQP for WPI
email Class Reference

Static Public Member Functions

static send_confirmation (User_Model $user)
static send_notification (User_Model $to_user, $msg, $link)
static send (User_Model $to, $subject, $body)

Detailed Description

Email helepr class

Definition at line 8 of file email.php.


Member Function Documentation

static send ( User_Model to,
subject,
body 
) [static]

General email sending helper. Used by the email queue worker. Uses Postmark email service for sending emails.

Definition at line 75 of file email.php.

static send_confirmation ( User_Model user) [static]

Sends a confirmation email to the given user

Parameters:
$userThe user to email

Definition at line 15 of file email.php.

static send_notification ( User_Model to_user,
msg,
link 
) [static]

Sends a notification email to the given user

Parameters:
$to_userThe user to email
$msgThe message to send
$linkThe link to include in the email

Definition at line 36 of file email.php.


The documentation for this class was generated from the following file: