Skip to main content

Set SMTP connection limits

PUT 

/v1/smtpbasic/connections/:mailer_id

Sets the minimum and maximum number of SMTP connections the service may open to this basic SMTP mailer's server. The "connections" key is required on this endpoint; a body without it ({}) is rejected with 400. Send {"connections": {"min": 2, "max": 8}} to set a range: min and max are whole numbers from 1 to 50 and min must not be greater than max. Send {"connections": null} to go back to the provider default for the host. On create (POST /v1/smtpbasic/verify) and PUT /v1/smtpbasic/update, config.connections stays optional.

Request​

Path Parameters

    mailer_id stringrequired

    Mailer ID

Body

required

Connection limits: the connections key is required, null goes back to the default

    connections

    object

    nullable

    required

    max integerrequired

    Possible values: >= 1 and <= 50

    min integerrequired

    Possible values: >= 1 and <= 50

Responses​

Connection limits updated

Schema

    mailer_id string
    success boolean
Loading...