Search Results for

    Show / Hide Table of Contents

    Method UpdateSMTPSettings

    UpdateSMTPSettings(String, SMTPSettingsContract)

    Update SMTP configuration

    Declaration
    void UpdateSMTPSettings(string connectionId, SMTPSettingsContract smtpSettings)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    SMTPSettingsContract smtpSettings

    SMTPSettings to update

    Examples

    POST http://YourServerName/InfoShare/Json/Common/UpdateSMTPSettings

    Example for update SMTP configuration.

    {
       "connectionId": "eb5718e6-8fd6-460b-9da3-4fb0434e81a8",
       "smtpSettings": {
         "Password": "Ruho7804",
         "SendTimes": ["0001-01-01T06:00:00", "0001-01-01T10:00:00", "0001-01-01T14:00:00", 
         "0001-01-01T07:00:00", "0001-01-01T11:00:00", "0001-01-01T15:00:00", "0001-01-01T08:00:00", 
         "0001-01-01T12:00:00"],
         "SenderMailAdress": "MailTest@kendox.com",
         "SenderName": "Kendox InfoShare Notification Service",
         "Server": "smtp.office365.com",
         "User": "MailTest@kendox.com" }
    }

    Response:

    { }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    String was not recognized as a valid DateTime: {dateTimeValue}. Expected format {expectedFormat} (10059)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox