You are here: Reference Manual > FME Server Web Services > Notification Service > Publishers > Notification Content

IMAP Publisher Notification Content

Keywords

The notification content that is generated by the IMAP publisher includes the following keywords:

  • fns_type: This value is "imap_publisher" to identify the message is relayed using the IMAP publisher.
  • imap_publisher_from: The e-mail address of the e-mail client that sent the mail.
  • imap_publisher_to: The e-mail address that received the email. (Matches IMAP Email Account as configured in the IMAP publication).
  • imap_publisher_subject: The e-mail subject
  • imap_publisher_content{n}: The e-mail message content. Multiple "contents" appear in conjunction with multiple "content types," and have a suffix starting at {0}, {1}, {2}, and so on.
  • imap_publisher_content_type{n}: The e-mail message content type. Multiple content types have a suffix starting at {0}, {1}, {2}, and so on. The most common content types are text/plain and text/html.
  • imap_publisher_sent: The date the e-mail was sent.
  • imap_publisher_received: The date the e-mail was received.
  • imap_publisher_attachment{n}: The attachment directory. Multiple attachments have a suffix starting at {0}, {1}, {2}, and so on. Forward slashes are supported. Backslashes must be escaped as double backslashes.

Sample Notification

The following is a sample JSON notification published by the IMAP publisher upon receiving an email to address 'demo@example.com':

{

"fns_type": "imap_publisher",

"imap_publisher_to": "demo@example.com",

"imap_publisher_subject": "MIME message from sender",

"imap_publisher_content{0}": "Testing Email",

"imap_publisher_content_type{0}": "text/plain",

"imap_publisher_from": "sender@somehost.com",

"imap_publisher_received": "Tue Jan 28 11:45:46 PDT 2014",

"imap_publisher_sent": "Tue Jan 28 11:45:46 PDT 2014",

"imap_publisher_attachment{0}": "D:/FMEServer/Data/20140128114546-MIME message from sender/demo246129673106713_canada.xsd"

}