Skip to content
jordanryanmoore edited this page Jan 23, 2012 · 6 revisions

References

Sample Request

{
  destination: { // must specify at least one of bccAddresses, ccAddresses, or toAddresses
    bccAddresses: [
      "[email protected]",
    ],
    ccAddresses: [
      "[email protected]",
    ],
    toAddresses: [
      "[email protected]",
      "[email protected]",
    ],
  },
  message: {
    body: { // must specificy html, text, or both
      html: {
        charset: "utf-8", // optional
        data: "<html><body>This is an example message.</body></html>",
      },
      text: {
        charset: "utf-8", // optional
        data: "This is an example message.",
      },
    },
    subject: {
      charset: "utf-8", // optional
      data: "This is an example subject",
    },
  },
  replyToAddresses: [ // optional
    "[email protected]",
    "[email protected]",
  ],
  returnPath: "[email protected]", // optional
  source: "[email protected]",
}

Sample Response

{
  requestId: "fd3ae762-2563-11df-8cd4-6d4e828a9ae8",
  data: {
    messageId: "0000012fdda27d5a-2754e8a0-37a5-461b-93aa-841d2ce9b5c4-000000",
  }
}
Clone this wiki locally