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
gefragt vor einem Jahr253 Aufrufe
2 Antworten
0

Cancelling my question. The reason was in different regions.

Mike
beantwortet vor einem Jahr
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen