Test the Email Settings

Publish a Test Campaign to Yourself

To perform any test (such as authentication test, Unsubscribe Link test, stats validation) to verify email settings, you must publish a test email campaign to yourself first. Follow the below steps to send a test email campaign to yourself.

  1. In your MoEngage Dashboard, go to Segment > User Imports and click Import Users.
  2. Upload a CSV file with your email address. 
    • Include an @gmail.com or G-Suite-hosted email address.
    • You must select Anonymous users under Select user type while uploading a CSV file. For more information, refer to Import User Data.
      anonymous user.png
    • Under Map columns, you must map the Email column with the existing profile attribute Email (Standard).
      map email.png
  3. Create a custom segment and save it as test_email_settings. For more information, refer to Custom Segments.
  4. Create a test email campaign and send it to the custom segment created above. For more information, refer to Create Email Campaign.
    • Email body can be anything generic with a link and an unsubscribe link.
    • You can use the correct replacement tags for the unsubscribe link. You cannot add the unsubscribe link if the unsubscribe option is selected as None in the Unsubscribe Settings section.

Compliance Check

Step 1: Publish a Test Campaign to Yourself

To publish a test campaign yourself, refer to the above section.

Step 2: Open the Test Email Header

Open the test email campaign you send yourself and click Show Original as shown in the following image:

Auth 1.png

Step 3: Look for the Headers Necessary for Compliance

In the following HTML page, look for the below listed headers necessary for compliance.

  • Search for Authentication-Results:
    • Results must have SPF, DKIM, and DMARC.
    • Results must be PASS for all three (SPF, DKIM, and DMARC).
    • To prevent spoofing of your domain, add strict DMARC.
      Code
      Authentication-Results: atlas-production.v2-mail-prod1-gq1.omega.yahoo.com;
      dkim=pass header.i=@moenews.moengage.com header.s=pmt;
      dkim=pass header.i=@sendgrid.info header.s=smtpapi;
      spf=pass smtp.mailfrom=pmt.moenews.moengage.com;
      dmarc=pass(p=REJECT,sp=REJECT) header.from=moenews.moengage.com;
      info

      Information

      You can start with a p=none; sp=none policy. Send the reports to a DMARC monitoring tool. Monitor, fix authentications, and slowly enforce 100% strict DMARC.

  • Search for Received: from

    • You will see the IP with its forward DNS.
    • Gmail rejects emails sent from IPs without a valid forward and reverse DNS.
    • In the same Received: from, you can also see the TLS version.
      Code
      Received: from o1704.dba.appalerts.moengage.com (o1704.dba.appalerts.moengage.com [159.183.136.128])
      by mx.google.com with ESMTPS id af79cd13be357-794b4bb4bb4si515498585a.305.2024.05.27.08.36.30
      for <sadikshya@moengage.com>
      (Version=TLS1_3 cipher =TLS_AES_128_GCM_SHA256 bits=128/256);
  • Search for List-Unsubscribe:
    You must see two headers:
    • List-Unsubscribe: <>
      • It must include an HTTPS URL.
    • List-Unsubscribe-Post: List-Unsubscribe=One-Click
      • It is static and fixed.
        Code
        List-Unsubscribe: <mailto:unsubscribe@pmt.moenews.moengage.com?subject=https://link.moengage.com/ss/su/u001.RTpx4EJS3-0i5gtpC9vtzQ/46p/J0qQyBvRRTKjhs4UuGOTOg/um/h001.tuKCex1vFwY4ol0fZjDCDM0mCya9o04aOtlc0YJeIfE>,<https://link.moengage.com/lu/unsubscribe?oc=u001.5y6sKFQeHCQG7JHncsOumERtTWcPPtilX9ReiM5Pod4PrlY4NMFtC-6Cx4CSsG7OajrnrjuWS9Op-V-Lj3P0ZAr5FA0PgszKwHfIvy9Wf4mHnvOK5S2IsKem3HbsanLWdJRcbHCuBg0jF7BS5A-5IfCd5aSkqitXAiofUonUDxyfjHfn6nlwk7okVFXUWu-Et1n5vHH06Hb35K8MIvuKNQ>
        List-Unsubscribe-Post: List-Unsubscribe=One-Click

SSL Branded Links Verification

This verification is required to check whether your links are secured or not.

Step 1: Publish a Test Campaign to Yourself

To publish a test campaign yourself, refer to the above section.

Step 2: Hover Over Any URL/CTA Button

  • Open the email and hover over any link or button.
  • The URL you see in the bottom left must be your domain.
  • The URL should be HTTPS (it might take a few seconds for HTTPS to show up).
    • Alternatively, you can copy the URL and paste it into any text editor.
      • The domain must be your domain.
      • The link must start with HTTPS.

Link Branding.png

Step 3: Verify Click Tracking

To verify click tracking, click on any link inside the email body.

  • You must be redirected to the original URL you added in the email.
  • The email campaign analytics must display the click event. For more information on email campaign analytics, refer here.
  • The Activity section in your user profile must display the click event.

Test the Unsubscribe Link

Step 1: Publish a Test Campaign to Yourself

To publish a test campaign yourself, refer to the above section.

Step 2: Click the Unsubscribe Link

  • Open the email and click the unsubscribe link.
  • If you have used the replacement tags, the unsubscribe link must be within the email body. Otherwise, it will be outside the email body as shown in the following image:
    Screenshot 2024-06-19 at 16.14.54.png

 

Step 3: Verify Unsubscribe Status and Reachability

  • Click the unsubscribe link.
  • Verify if the landing page or unsubscribe flow is working as you expected.
  • Go back to the MoEngage UI and verify if:

Stats Validation

Step 1: Publish a Test Campaign to Yourself

To publish a test campaign yourself, refer to the above section.

Step 2: Engage with the Email You Have Received

  • Open the email.
  • Click any link in the email body.
  • Click the unsubscribe link.

Step 3: Verify the Stats

Verify if events are populating as expected. Campaign stats must show:

  • Sent
  • Delivered
  • Open
  • Click
  • Unsubscribe

stats.png

It might take a few minutes for the stats and user profile to populate.

Was this article helpful?
0 out of 0 found this helpful

How can we improve this article?