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
 
Configuration for accessing Amazon GetSendQuota service

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.SimpleEmail.Model.GetSendQuotaResult
      Amazon.SimpleEmail.Model.GetSendQuotaResponse

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

Syntax

C#
public class GetSendQuotaResponse : GetSendQuotaResult

The GetSendQuotaResponse type exposes the following members

Constructors

NameDescription
Public Method GetSendQuotaResponse()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property GetSendQuotaResult Amazon.SimpleEmail.Model.GetSendQuotaResult Gets and sets the GetSendQuotaResult property. Represents the output of a GetSendQuota operation.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property 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.

Public Property 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.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property SentLast24Hours System.Double Gets and sets the property SentLast24Hours.

The number of emails sent during the previous 24 hours.

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

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8