Class SendSmsHelper
Places outgoing sms into the Outbox, where ejCron will pick it up and send it out within a few minutes.
Inherited Members
Namespace: SuperOffice.CRM.Mail
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public class SendSmsHelper
Constructors
SendSmsHelper()
Places outgoing sms into the Outbox, where ejCron will pick it up and send it out within a few minutes.
Declaration
public SendSmsHelper()
Methods
PlaceInOutboxAsync(string, string, string, CancellationToken)
Creates an outbox row representing a simple sms with one recipient
Declaration
public static Task PlaceInOutboxAsync(string fromEmailAddress, string toPhoneNumber, string textMessage, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | fromEmailAddress | Sender E-mail address |
string | toPhoneNumber | Recipient Phone number |
string | textMessage | Text message |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |