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?