Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Method parameters

Returns the HTML code of a newsletterspecific message by specifying the IDs of either the message or the MailUp list that contains it

Method parameters

  • string GetNewsletterCode (string accessKey, int listID, int newsletterID, bool bool usingTemplate)

...



Note
titleKNOWN RESTRICTION

Characters & and " are not escaped in returned response, so please avoid these characters in message subjects otherwise you will experience some problems due to an invalid returned XML

Code Examples

Code Block
languageruby
titleRuby
# Refer to https://mailup.atlassian.net/wiki/display/mailupapi/MailUp+RubyGem for gem information.
require 'mailup'
m = MailUp::Send.new('username', 'password')
m.get_newsletter_code(:listId => 1, :newsletterID => 3, :usingTemplate => false)
# => <GetNewsletterCodeResult><errorCode>0</errorCode><errorDescription></errorDescription>...</GetNewsletterCodeResult>"