Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.79 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.79 KB

PHP Rest API Client

PHP REST API integration/implementation samples

Requirements

  • Apache web server
  • A valid MailUp account ( trial accounts allowed )
  • Your own API application keys

notes :

Samples overview

This project encloses a short list of pre definied samples describing some of the most common processes within MailUp.

  • Sample 1 - Importing recipients into a new group
  • Sample 2 - Unsubscribing a recipient from a group
  • Sample 3 - Updating a recipient information
  • Sample 4 - Creating a message from a custom template (deprecated)
  • Sample 5 - Building a message with images and attachments
  • Sample 6 - Tagging an email message
  • Sample 7 - Sending an email message
  • Sample 8 - Displaying statistics with regards to message created in sample 4 or 5 and/or sent out in sample 7

Before starting

After you get the MailUp account ID and the API application keys, please set them into your local config file. You can find the path of the config file here:

rest-samples-php/config/auth.php      

Debugging tool

Notes

To learn more about API keys and how to get them, please refer to MailUp REST API Keys and endpoints

Revision history