15.2.1.10.3. SMTP SMS Provider

class privacyidea.lib.smsprovider.SmtpSMSProvider.SmtpSMSProvider(db_smsprovider_object=None, smsgateway=None)[source]
classmethod parameters()[source]

Return a dictionary, that describes the parameters and options for the SMS provider. Parameters are required keys to values.

Returns

dict

submit_message(phone, message)[source]

Submits the message for phone to the email gateway.

Returns true in case of success

In case of a failure an exception is raised