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
demandé il y a un an253 vues
2 réponses
0

Cancelling my question. The reason was in different regions.

Mike
répondu il y a un an
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
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions