• Features
  • API Docs
  • Help Center
  • Log in
  • Sign Up
  • Features
  • API Docs
  • Help Center
  • Log in
  • Sign Up

SMTP Message Tag

144 views September 18, 2017 0

You can add an array of strings to tag the message with. Stats are accumulated using tags, though we only store the first 100 we see, so this should not be unique or change frequently. Tags should be 50 characters or less. Any tags starting with an underscore are reserved for internal use and will cause errors.

To tag your message sent via SMTP request you need to add a custom header

 

Header Purpose Format Example
X-Tags Add tags to the outgoing message Array of strings in JSON-format shielded with backslashes, each string being a tag to apply to the message.
No more than 50 characters per tag and 100 tags per account
X-Tags: [\”tag1\”, \”tag2\”]

Example PHP:
addslashes(json_encode([‘tag1’, ‘tag2’, ‘tag3’]));

X-Message-Priority Add priority tag to the outgoing emails to avoid delivery delays for important messages due to large promo campaigns in queue Priority 1 is default value.
You can have up to 5 priority levels.
Priority level over 5 will be rounded to 5.
Example:
X-Message-Priority: 2
Similar posting
  • SMTP & Google
  • SmartSender SMTP protocol credentials
Company
  • About us
  • Team
  • Career
Legal
  • Terms of Use
  • Privacy Policy
  • Anti-Spam Policy
  • Cookie Statement
Resources
  • Api Documentation
  • FAQ
  • Knowledge Base
  • SmartSender Blog

We use cookies to make SmartSender’s website a better place. Cookies help to provide a more personalized experience for you, and web analytics for us. To learn more, and to see a full list of cookies we use, check out our Cookie Policy (baked goods not included).

got it