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)
...
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 |
---|
|
# 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>" |