AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Returns the user's current sending limits.

This action is throttled at one request per second.

Namespace: Amazon.SimpleEmail
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual GetSendQuotaResponse GetSendQuota(
         GetSendQuotaRequest request
)

Parameters

request
Type: Amazon.SimpleEmail.Model.GetSendQuotaRequest

Container for the necessary parameters to execute the GetSendQuota service method.

Return Value
Type: Amazon.SimpleEmail.Model.GetSendQuotaResponse
The response from the GetSendQuota service method, as returned by SimpleEmailService.

Examples

This example shows how to get information about a user's current sending limits.

Get sending limits example

var sesClient = new AmazonSimpleEmailServiceClient();
var response = sesClient.GetSendQuota();

Console.WriteLine("Maximum emails that can be sent each 24 hours: " +
  response.Max24HourSend);
Console.WriteLine("Maximum emails that can be sent per second: " +
  response.MaxSendRate);
Console.WriteLine("Number of emails sent in last 24 hours: " + 
  response.SentLast24Hours);
      

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5