The library was designed to provide simple interface for using FreshMail API. It is a standalone and requires no outside libraries to work.
A simple interface is provided to communicate with the API. To call the Ping service:
Use the library:
Call the API:
Use composer to include the library in your project.
composer require mslwk/freshmail
The library provides methods of communicating with the API to:
- Test connection
- Send transactional emails
- Send SMS messages
- Create a new campaign
- Edit, delete, test and send an existing campaign
- Create, delete, get data about and edit a subscriber
- Create, delete and edit a subscription list
- Get subscription lists
- Register a new account
- Spam-test an email