Message rejected: Email address is not verified. The following identities failed....

1

Hi.

I am developing an android app using xamarin in MS Visual Studio 2023 to send out emails anytime the phone's location changes to a particular email address (md.idiake.ng@outlook.com). I am sending from this email address (no-reply@234Aproko.com).

I have created both identities (as email addresses) in the Amazon SES dashboard and successfully verified them.

I have even successfully sent out two test messages from no-reply@234Aproko.com to md.idiake.ng@outlook.com from the dashboard.

Now in my app, I am using Mailkit to send out the mails. This is my code:

        var message = new MimeMessage();
        message.From.Add(new MailboxAddress("IMEI247Tracker Calls Alert", "no-reply@234Aproko.com"));
        message.To.Add(new MailboxAddress("MD Idiake", "md.idiake.ng@outlook.com));

         message.Body = new TextPart("plain")
                    {
                        Text = "Hi. Your Phone`s GPS Coordinates (" + m.Latitude + ": " + mLongitude + ")"};

        message.Subject = "IMEI247Tracker (TM) Calls Alert Notification"; 

        using var client = new MailKit.Net.Smtp.SmtpClient();
        client.ServerCertificateValidationCallback = (s, c, h, e) => true;
        client.Connect("email-smtp.eu-north-1.amazonaws.com", 2587, false);
        client.Authenticate("Amazon SES Username", "Amazon SES Password");
        client.Send(message);
        client.Disconnect(true);

Whenever, the debugger gets to client.Send(message), it triggers an error that crashes the app.

This is the error message:

Message rejected: Email address is not verified. The following identities failed the check in region EU-NORTH-1: no-reply@234Aproko.com, IMEI247Tracker Calls Alert no-reply@234Aproko.com

So what have I not done?

i have even gone ahead to create and verify my sub-domain (mail.234Aproko.com) in the SES dashboard. I have included the MX and TXT strings in my domain DNS settings. Still no show.

i am in sandbox mode.

Expecting a quick resolution to my question.

Thanks.

gefragt vor einem Jahr295 Aufrufe
1 Antwort
0

Hi,

If these email addresses are verified.

no-reply@234Aproko.com md.idiake.ng@outlook.com

You have to check the below:

  1. Remove the friendly names right before the FROM and the TO addresses.
  2. Make sure you are using the correct region.
  3. If you have configured a domain identity called "234Aproko.com", then make sure it is verified as well.
  4. There is an error in your code, as the "mLongitude" is missing a dot. IT should look like this: Text = "Hi. Your Phone`s GPS Coordinates (" + m.Latitude + ": " + m.Longitude + ")"};

If all of that is not helping, then open a case with SES Premium Support.

Thanks! Mo

profile picture
Mo
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