Search Results for

    Show / Hide Table of Contents
    View Source

    Interface ISmsSender

    Service to send an SMS.

    Namespace: Umbraco.Cms.Core.Mail
    Assembly: Umbraco.Core.dll
    Syntax
    public interface ISmsSender
    Remarks

    Borrowed from ASP.NET Core documentation samples.

    Methods

    View Source

    SendSmsAsync(string, string)

    Sends an SMS message asynchronously.

    Declaration
    Task SendSmsAsync(string number, string message)
    Parameters
    Type Name Description
    string number

    The phone number to send the SMS to.

    string message

    The message content to send.

    Returns
    Type Description
    Task

    A task representing the asynchronous operation.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX