6.3.1.4. smsprovider.SmtpSMSProvider module

This is the SMSClass to send SMS via HTTP Gateways

class smsprovider.SmtpSMSProvider.SmtpSMSProvider[source]

Bases: smsprovider.SMSProvider.ISMSProvider

loadConfig(configDict)[source]
submitMessage(phone, message, exception=True)[source]

Submits the message for phone to the email gateway.

Returns true in case of success

Remarks: the exception parameter is not in the official interface and the std handling is to pass the exception up to the upper levels.

TODO: fix the interface w.r.t. the exception parameter