Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

EmailSMSProvider Class Reference
[Simple Message Service]

Inheritance diagram for EmailSMSProvider:

SMSProvider List of all members.

Detailed Description

Send SMS via email gateway.

Currently the only way to send SMS messages with BaseJumper. Uses the providers email gateway... dont abuse it.

Definition at line 189 of file sms.inc.php.

Public Member Functions

 __construct ($name, $email)
 create our email provider.
 getEmail ()
 get the email address to send to.
 send ($message, $from)
 send a sms message to a gateway.

Private Attributes

 $email
 the email gateway address


Member Function Documentation

EmailSMSProvider::__construct name,
email
 

create our email provider.

Parameters:
$name the name of the provider
$email the email of the provider gateway, with ### where the 10 digit number will go.

Definition at line 202 of file sms.inc.php.

EmailSMSProvider::getEmail  ) 
 

get the email address to send to.

Returns:
the email for our specific number / provider combo.

Definition at line 214 of file sms.inc.php.

Referenced by send().

EmailSMSProvider::send message,
from
 

send a sms message to a gateway.

Parameters:
$message the text message (<160 chars)
$from the from email address

Reimplemented from SMSProvider.

Definition at line 225 of file sms.inc.php.

References $email, getEmail(), and Mail::send().


Member Data Documentation

EmailSMSProvider::$email [private]
 

the email gateway address

Definition at line 194 of file sms.inc.php.

Referenced by send().


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen 1.3.9.1