Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

SendMessageNL method

  • Requires the CSV file to be moved to MailUp servers before method is called
  • Manages import and sending for a specific list. Differently from batch FTP imports from a CSV file, this method does not allow to import contacts to different lists. All recipients must be imported in the same list
  • The file containing the recipients must be in CSV format (can also be provided in a compressed format using ZIP compression).The file and its fields must be structured following the guidelines contained in the CSV file description

 

 

Note

SendMessageNL is often likely the best option for a fast bulk import and sending but users should be aware of some known limitations

...

  • the ID of the sending
  • -1 in case the operation is did not completed complete successfully (e.g. due to incorrect parameters or system failure). In this case any no recipient has been imported and no messages message has been sent. 
    You could should then check:
    • if parameters fileName, messageId and accessKey has have been provided.
    • if parameter accessKey is correct (it should contain the key obtained by from login method).
    • that at least one of the parameters listId and ListGuid has been provided. And if they their values are correct.
    • ithat parameter that the sender argument contains a correct valid email address or an empty string when provided.

  • -3 in case the request command to start import to MailUp of the recipients included in the file fail. (e.g. due to an import operation already running that the system doesn't recognize).
    In

    If this is the case

    you could access to MailUp Console and verify if Import operation related to file has been queued. In this case sending operation will be completed, otherwise the SendMessageNL operation should be repeated

    , you should login into your mailup account and check if the import process was successfully queued. If so, the dispatch will take place correctly, else, it would be required to run once again the SendMessageNL method.

Since SendMessageNL starts as an asynchronous task, in some cases a failure may occur after the method call is completed. In this case the failure is notified by means of an alert

...