Browse guide sections

DirectMail setup walkthrough

Step-by-step illustrated guide covering DirectMail activation, DNS verification, least-privilege RAM keys, and EventBridge receipt webhooks.

01Enable DirectMail02Verify DNS03Sender address04RAM keys05Connect channel06Send test07Tracking & receipts
Use your own Alibaba Cloud account and sending domain. Sample domains below are placeholders — always copy DNS values from your own DirectMail console, and enter AccessKey and Webhook tokens only inside the secure form fields.

Part 1: Activate & send your first test email

Required · Steps 01–06
  1. Enable DirectMail service

    Alibaba Cloud

    Prepare a custom domain whose DNS you control and a verified Alibaba Cloud Admin account. DirectMail must be activated separately; billing follows Alibaba Cloud's console rates.

    1. Open the Alibaba Cloud DirectMail product console and enable the service.
    2. Note your selected region — your sending domain, sender address, Pixel EDM channel, and EventBridge bus must all use the exact same region.

    Done when: You can open the DirectMail console in your target region.

    Alibaba Cloud Docs: Purchase & enable
  2. Add a sending domain & verify DNS

    Alibaba Cloud + DNS Host

    Use a dedicated subdomain such as send.example.com (placeholder — replace with a domain you own).

    1. Go to DirectMail Console → Sending Domains → New Domain, then open its Configure screen.
    2. In your DNS provider, add every ownership, SPF, DKIM, DMARC, and MX record listed by DirectMail. Always copy hostnames and values directly from your console.
    3. Once DNS propagates, return to the DirectMail console and click Verify.
    DNS record quick reference (copy exact values from console)
    TypePurposeHost exampleValue sourceNotes
    TXTDomain ownershipsend or console-assigned hostDirectMail Domain Configuration pageCopy the verification token verbatim
    TXTSPF authorizationsend (sending subdomain)Provided v=spf1 ... recordKeep only one SPF TXT record on the same host
    CNAME / TXTDKIM signingConsole DKIM selector hostDirectMail public key or CNAME targetEnsure your DNS host does not double-append the root domain
    TXTDMARC policy_dmarc.sendv=DMARC1; p=none; ...Recommended even at p=none to build domain trust
    MXBounce & verificationsend (sending subdomain)Console-specified MX host & priorityUsing a dedicated subdomain avoids conflicting with root-domain mail
    Swipe horizontally to inspect full diagramOpen full diagram
    Flow diagram showing DNS records copied from Alibaba Cloud DirectMail to your DNS provider and verified back in the DirectMail console
    Domain verification flow. Record types are illustrative — use the exact hosts and values generated in your console.

    Done when: Your sending domain shows Verified with all DNS checks passing.

    Alibaba Cloud Docs: Sending domains
  3. Create a sender address

    Alibaba Cloud

    Create the outbound address under your verified domain, such as hello@send.example.com.

    1. Go to DirectMail Console → Sender Addresses → Create Sender Address and pick your verified domain.
    2. Set up and verify a reply-to address if customers should reply to a separate inbox.
    3. Wait until Alibaba Cloud marks the address ready before running in-app test sends.

    Done when: The sender address appears active in that region's console.

    Alibaba Cloud Docs: Sender addresses
  4. Create dedicated RAM access keys

    Alibaba Cloud RAM

    Create a dedicated RAM user for Pixel EDM with API send permissions and generate an AccessKey ID and AccessKey Secret.

    1. Grant least-privilege permissions for sending; Alibaba Cloud provides custom policy examples allowing only dm:SingleSendMail.
    2. Store the newly generated ID and Secret temporarily so you can paste them in the next step — the Secret is never displayed again in Pixel EDM after saving.

    Done when: You have an active AccessKey pair belonging to your DirectMail account.

    Alibaba Cloud Docs: RAM access control
  5. Connect the channel in Pixel EDM

    Pixel EDM · Admin

    Open Settings → Sending channels → Add Alibaba Cloud DirectMail. Every field must match your verified Alibaba Cloud setup.

    1. Region: select the exact region where your domain and sender address live, then fill in your verified sender domain and address.
    2. From name: up to 14 characters. Reply-to is optional; if entered, ensure it receives mail.
    3. Enter your RAM AccessKey ID and AccessKey Secret and click Save configuration safely. Also make sure your physical address is saved under Store details.

    Done when: The channel card appears with status Configured, awaiting verification.

  6. Send your first test email

    Pixel EDM · Admin

    Click Send test email on the channel card. Pixel EDM sends a live message to the signed-in Admin's verified email address.

    1. Check both inbox and spam folders to verify the From address, display name, and reply-to header.
    2. If delivery fails, verify region matching, RAM permissions, and sender status, then inspect the channel card error details.

    Done when: You receive the test email and the channel card reads Verified.

Part 2: Live delivery receipts & engagement tracking

Optional / Recommended · Steps 07–08
  1. Enable open & click tracking (optional)

    Alibaba Cloud + Pixel EDM

    Create an Email Tag in Alibaba Cloud DirectMail first, then enable Open & click tracking on your Pixel EDM channel card with the exact same tag name.

    1. The tag must already exist in the same DirectMail account and region. Pixel EDM accepts letters, digits, and underscores only.
    2. Changes apply to future formal campaigns only. Open tracking depends on email client image loading, and click tracking requires valid HTTP(S) links.
    3. Pixel EDM dispatches HTML-wrapped messages when tracking is enabled while excluding unsubscribe links from click tracking.

    Done when: The channel card displays Tracking enabled along with your tag name.

    Alibaba Cloud Docs: Data tracking
  2. Connect EventBridge delivery receipts (recommended)

    Pixel EDM + EventBridge

    Receipts distinguish provider acceptance from actual recipient-server delivery and sync bounces, complaints, opens, and clicks.

    1. On your Pixel EDM channel card, open Delivery receipt webhook → Generate token and copy both the HTTPS target URL and one-time token.
    2. Enable Event Distribution in DirectMail, then create a rule on the EventBridge cloud-service bus in the same region using the event source acs.dm and the seven event types shown in EventBridge event rules.
    3. Choose HTTP/HTTPS as target, paste the full HTTPS URL, select Full Event for payload, and paste the token into Token (x-eventbridge-signature-token header). Configure retries and an MNS dead-letter queue for production.
    4. Confirm the channel_id inside the target URL matches your active channel. Whenever you rotate the webhook token, update the EventBridge rule Token too.
    Swipe horizontally to inspect full diagramOpen full diagram
    Flow diagram showing DirectMail events routed through Alibaba Cloud EventBridge with a signed token to the Pixel EDM channel webhook to update campaign analytics
    Delivery receipt pipeline. Each workspace channel uses its own target URL and signing token.

    Done when: After sending a small campaign, recent receipts appear on the channel card and stats advance from Awaiting receipt to Delivered or failed states.

    Alibaba Cloud Docs: EventBridge setup

Final check: verify with a small test list

  1. Add 1–3 consented internal test addresses, create a draft campaign, preview it, and lock the audience.
  2. Run a formal send as Admin — confirm tasks start as Accepted and progress to Delivered once receipts arrive.
  3. If tracking is enabled, load images and click a regular link in the test email to confirm open/click metrics update.
  4. Complete an unsubscribe flow using the email footer link and verify that contact is excluded from new campaigns.

Ready to connect your own sending channel?

Create a free workspace in under a minute to verify your domain, preview templates, and send a live test email.