Nomsa Guide
  • 👋About Nomsa
  • Campaign Guide - General
    • 🚀How to send a campaign?
  • Campaign Guide - Email
    • 📧Email Campaigns - Basics
      • Scheduled Sending
      • Bounced Emails and Halted Campaigns
      • Email Statistics
      • Formatting your Message Template
      • Variable Fields
      • Unique URL Link per Recipient
      • Pasting Content from Microsoft Word
      • Manage your Unsubscriptions
      • Understanding Unsubscriptions
    • 🔐Sending Password-Protected Emails
      • Tutorial
  • Campaign Guide - SMS
    • 📲SMS Campaigns - Basics
    • SMS Onboarding Overview
      • How do I send SMS
  • Campaign Guide - Telegram
    • 🤖Telegram Campaigns - Basics
      • Add Telegram Bot Token in Nomsa
      • Instructions for Recipient Onboarding
      • Use the Bot in the Campaign
      • Telegram Formatting
      • Telegram Bot Statistics
  • Api Guide
    • 📖Overview
      • API Response Formats
      • Bearer Authentication
      • Generate your API Key
      • Rotate your API Key
    • 📨Programmatic Email API
      • Custom From Address
      • Tracking Email Status
      • Send Email API
        • From Name and From Address
        • CC and BCC
        • Recipient Blacklist
        • Email Tagging and Classification
        • Email Body
          • Embedding Images
            • Linked Images
            • Content-ID Images
        • Attachments
        • Rate Limit
      • Get Email by ID API
      • List Emails API
    • 📬Programmatic SMS API
Powered by GitBook
On this page
  • How It Works
  • Recommended for Same Images Across Multiple Emails
  • Unique Image for Each Email
  • Sample API Call
  1. Api Guide
  2. Programmatic Email API
  3. Send Email API
  4. Email Body
  5. Embedding Images

Linked Images

PreviousEmbedding ImagesNextContent-ID Images

Last updated 1 year ago

How It Works

Linked images are images hosted on a server and displayed in the body of an email via HTML image tags. The email client will retrieve the image from the source indicated in the img tag.

An example linked image is: <img src="">.

Recommended for Same Images Across Multiple Emails

If you are using the same set of images across multiple emails, an easy way to use linked images in your email is to upload the image to a service like go.gov.kh and reuse the same img tags in your emails.

For step-by-step instructions on how to upload images to GoGovKH, .

Unique Image for Each Email

If you are embedding a unique image for each email, you may consider:

  • Programmatically uploading your image to a file hosting service

    • Currently, we do not provide such a service. However, we are looking into possible solutions, please if this could be helpful to your agency.

  • Using

Sample API Call

{
  "subject": "Test subject",
  "body": "<p>This contains an image</p><br><br><img src='https://file.go.gov.kh/yxv0h0.png'><br><br><p>hello there</p>",
  "recipient": "recipient@gmail.com"
}

The resultingmail:

📨
https://file.go.gov.kh/yxv0h0.png
see this
contact us
content-ID images