Allows to retrieve all non-cloned messages for each list.

Method parameters

  • string GetMessages(string accessKey, intlistID)
    • accessKey: access key obtained using the LoginFromId method
    • listId: list identifier


There is only a slight difference between GetMessages and GetNewsletter methods: GetMessages returns a response that does not include cloned messages


SOAP Examples

SOAP request
<soap:Envelope xmlns:soap="" xmlns:ws="">
          <!--Use accessKey value that is returned by LoginFromId method-->

The output format is exactly the same as the WS_MailUpSend.GetNewsletters, including most outer tag, which is GetNewsletterResult also for GetMessages method (not "GetMessagesResult")

SOAP response
<?xml version="1.0" encoding="utf-8"?>
<errorDescription />
	<!-- see format of SOAP response returned by GetNewsletter method -->



Code Examples

# Refer to for gem information.
require 'mailup'
m ='username', 'password')
# => <GetNewslettersResult><errorCode>0</errorCode><errorDescription></errorDescription><list><listID>0</listID><listName></listName><newsletters></newsletters></list></GetNewslettersResult>"