We feature a user-friendly API for applications to send in-app emails using MailRush.io SMTP relays.View API Documentation
<?php //API Url $url = 'https://app.mailrush.io/api/v1/mail/send'; //Initiate cURL. $ch = curl_init($url); //The JSON data. $jsonData = array( 'apikey' => 'your-api-key', 'from' => 'firstname.lastname@example.org', 'to' => 'email@example.com', 'subject' => 'Example Subject', 'text' => 'Hello World, this is a text.', 'html' => '<p>Hello World, this is a text.</p>'; ); //Encode the array into JSON. $jsonDataEncoded = json_encode($jsonData); //Tell cURL that we want to send a POST request. url_setopt($ch, CURLOPT_POST, 1); //Attach our encoded JSON string to the POST fields. curl_setopt($ch, CURLOPT_POSTFIELDS, $jsonDataEncoded); //Set the content type to application/json curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); //Execute the request $result = curl_exec($ch);
For many companies the integration of a reliable SMTP service into their application is of great importance as corporate communication around Email services for transactional messages is required. Maintaining a healthy SMTP infrastructure could be challenging as spam filters, blacklist and technology know how is fundamental for a successfull emailing campaign. Our SMTP Relay platform is build from ground up to handle transactional and marketing emails while our team of techs keep track of every aspect of the infrastrucutre allow you to focus in your business operation.
At mailrush.io, each account with Dedicated IP is isolated and characterized by its own reputation. This isolation ensures higher reputation and control over the effectiveness of your campaigns.
With our SMTP API you can send Emails from web, desktop and mobile applications using SMTP Protocol or Web API.