Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.SendSMS.ISendSMS.SendSMSAsync Method

Send an SMS message to a phone number.

Class: YetaWF.Core.Support.SendSMS.ISendSMS
Namespace: YetaWF.Core.Support.SendSMS
Assembly: YetaWF.Core

Syntax

public Task SendSMSAsync(
    string toNumber,
    string text,
    string? FromNumber = null );

Parameters

toNumber

The receiving number of the SMS message.

text

The text of the SMS message.

FromNumber

Optional sending number. If not specified, the SMS Settings are used to provide the default number.

See Also YetaWF.Core.Support.SendSMS.ISendSMS ClassYetaWF.Core Overview