AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Represents your Amazon SES daily sending quota, maximum send rate, and the number of emails you have sent in the last 24 hours.
Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z
public class GetSendQuotaResponse : AmazonWebServiceResponse
The GetSendQuotaResponse type exposes the following members
Name | Description | |
---|---|---|
GetSendQuotaResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
Max24HourSend | System.Double |
Gets and sets the property Max24HourSend. The maximum number of emails the user is allowed to send in a 24-hour interval. A value of -1 signifies an unlimited quota. |
|
MaxSendRate | System.Double |
Gets and sets the property MaxSendRate. The maximum number of emails that Amazon SES can accept from the user's account per second. The rate at which Amazon SES accepts the user's messages might be less than the maximum send rate. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
SentLast24Hours | System.Double |
Gets and sets the property SentLast24Hours. The number of emails sent during the previous 24 hours. |
The following example returns the Amazon SES sending limits for an AWS account:
var client = new AmazonSimpleEmailServiceClient(); var response = client.GetSendQuota(new GetSendQuotaRequest { }); double max24HourSend = response.Max24HourSend; double maxSendRate = response.MaxSendRate; double sentLast24Hours = response.SentLast24Hours;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5