AWS SES. DKIM in email has wrong domain.

0

After all verification (easy DKIM option) I try send email. Via console it is work perfrect - DKIM record in test email has correct domain - my own. But when I try to do via API - it is contains "amazonses.com" (I see email in GMAIL via Show Original)

await _emailClient.SendEmailAsync(new()
			{
				FromEmailAddress = "noreply@mydomain.com",
				Destination = new() { ToAddresses = new() { CreateAddress(email.ToAddress, email.ToAlias) } },
				Content = new()
				{
					Simple = new()
					{
						Subject = new() { Data = email.Name },
						Body = new()
						{
							Text = CreateContent(email.Text)
						}
					}
				}
			}, cancellationToken);

Should I use some extra property or missed some magic method in API?

Mike
已提問 1 年前檢視次數 253 次
2 個答案
0

Cancelling my question. The reason was in different regions.

Mike
已回答 1 年前
0

This can also occur if you have the email address verified and have DKIM signing disabled for the email address identity. The more-specific email address identity takes precedence over the domain identity.

AWS
Jesse_T
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南