Download the PHP package amosoft/mailjet-apiv3-php without Composer
On this page you can find all versions of the php package amosoft/mailjet-apiv3-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package mailjet-apiv3-php
Mailjet API Client, compatible with the old PHP 5.3.
Check out all the resources and all the PHP code examples on the official documentation: Maijlet Documentation
Requirements
PHP >= 5.3
Installation
Getting Started !
grab and save your Mailjet API credentials.
It will create some variables available in your code, via the getenv
function:
Initialize your Mailjet Client:
It's as easy as 1, 2, 3 !
Make your first call
Filtering resources
The Mailjet API provides a set of general filters that can be applied to a GET request for each resource. In addition to these general filters, each API resource has its own filters that can be used when performing the GET
Send transactional emails
Send marketing campaign
To send your first newsletter, you need to have at least one active sender address in the Sender domains & addresses section.
Event API - real time notifications
The Event API offer a real-time notification through http request on any events related to the messages you sent. The main supported events are open, click, bounce, spam, blocked, unsub and sent. This event notification works for transactional and marketing emails.
The endpoint is an URL our server will call for each event (it can lead to a lot of hits !). You can use the API to setup a new endpoint using the /eventcallbackurl resource. Alternatively, you can configure this in your account preferences, in the Event Tracking section.
Statistics
The Mailjet API offers resources to extracts information for every messages you send. You can also filter through the message statistics to view specific metrics for your messages.
Parse API - Inbound emails
The Parse API allows you to have inbound emails parsed and their content delivered to a webhook of your choice. In order to begin receiving emails to your webhook, create a new instance of the Parse API via a POST request on the /parseroute resource.
Send a pull request
- Fork the project.
- Create a topic branch.
- Implement your feature or bug fix.
- Add documentation for your feature or bug fix.
- Add specs for your feature or bug fix.
- Commit and push your changes.
- Submit a pull request. Please do not include changes to the gemspec, or version file.