Tüm Ürünler
Search
Belge Merkezi

:CreateMailAddress

Son Güncelleme:Oct 04, 2026

Gönderen adresi oluşturur.

Not: Giriş adresi büyük/küçük harfe duyarlı değildir. Sistem adresi otomatik olarak küçük harfe dönüştürür.

Hata Ayıklama

OpenAPI Explorer imza değerini otomatik olarak hesaplar. Kolaylık sağlaması açısından bu işlemi OpenAPI Explorer üzerinden çağırmanızı öneririz. OpenAPI Explorer, farklı SDK'lar için işlemin örnek kodunu dinamik olarak oluşturur.

İstek Parametreleri

Parameter

Type

Required

Example

Description

AccountName

String

Yes

<Account name>+@+<domain name>

The sender address.

Sendtype

String

Yes

batch

The email type. Valid values:

  • batch: batch emails

  • trigger: triggered emails

AccessKeyId

String

No

xxx

The AccessKey ID provided to you by Alibaba Cloud.

Action

String

No

CreateMailAddress

The operation that you want to perform. Set the value to CreateMailAddress.

ReplyAddress

String

No

test1***@example.net

The reply-to address.

Yanıt Parametreleri


Parameter


Type


Example


Description


MailAddressId


String


xxx


The ID of the sender address.


RequestId


String


95A7D497-F8DD-4834-B81E-C1783236E55F


The ID of the request.

Örnekler

Örnek istekler

http(s)://dm.aliyuncs.com/? Action=CreateMailAddress
&Sendtype=batch
&AccountName=test***@example.net
&<Common request parameters>

Örnek başarılı yanıtlar

XML biçimi

<CreateMailAddressResponse>
      <RequestId>95A7D497-F8DD-4834-B81E-C1783236E55F</RequestId>
      <MailAddressId>xxxx</MailAddressId>
</CreateMailAddressResponse>

JSON biçimi

{
	"MailAddressId":"xxxx",
	"RequestId":"95A7D497-F8DD-4834-B81E-C1783236E55F"
}

Hata Kodları


HTTP status code


Error code


Error message


Description


400


InvalidMailAddressSendType.Malformed


The specified mailAddress sendType is wrongly formed.


The error message returned because the specified email type is invalid. Log on to the console and select a valid email type.


400


InvalidMailAddressDomain.Malformed


The specified mailAddress domain does not exist.


The error message returned because the format of the domain name is invalid. A domain name must contain digits, letters, underscores (_), hyphens (-), and periods (.).


400


InvalidMailAddressStatus.Malformed


The specified mailAddress status is wrongly formed.


The error message returned because the status of the sender address is invalid. Check whether the sender address is frozen.

Hata kodlarının listesi için lütfen API Error Center adresini ziyaret edin.