Increase your online presence by choosing our email marketing services. Our award winning formula combines strategy, implementation and tracking.
$url = 'https://email.hostandsoft.com/v2/email/send'; $data = array('from' => 'youremail@yourdomain.com', 'fromName' => 'Your Company Name', 'apikey' => '00000000-0000-0000-0000-000000000000', 'subject' => 'Your Subject', 'to' => 'recipient1@gmail.com;recipient2@gmail.com', 'bodyHtml' => 'Html Body', 'bodyText' => 'Text Body', 'isTransactional' => false); // use key 'http' even if you send the request to https://... $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data) ) ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); if ($result === FALSE) { /* Handle error */ } var_dump($result);Copyright (c) 2011-2017 Host & Soft, Inc.
using System; using System.Collections.Specialized; using System.Net; using System.Text; namespace Host&SoftEmailClient { class Program { static void Main(string[] args) { NameValueCollection values = new NameValueCollection(); values.Add("apikey", "00000000-0000-0000-0000-000000000000"); values.Add("from", "youremail@yourdomain.com"); values.Add("fromName", "Your Company Name"); values.Add("to", "recipient1@gmail.com;recipient2@gmail.com"); values.Add("subject", "Your Subject"); values.Add("bodyText", "Text Body"); values.Add("bodyHtml", "Html Body
"); values.Add("isTransactional", "true"); string address = "http://email.hostandsoft.com/v2/email/send"; string response = string.Empty; using (WebClient client = new WebClient()) { try { byte[] apiResponse = client.UploadValues(address, values); response = Encoding.UTF8.GetString(apiResponse); } catch (Exception ex) { response = "Exception caught: " + ex.Message + "\n" + ex.StackTrace; } } Console.WriteLine(response); } } } Copyright (c) 2011-2017 Host & Soft, Inc.
var uploadPostFile = function uploadPostFile() {
var query = {apikey: '00000000-0000-0000-0000-000000000000', subject: 'Your Subject', from: 'youremail@yourdomain.com', fromName: 'Your Company Name',
to: 'recipient1@gmail.com;recipient2@gmail.com', bodyHtml:
Html Body
, bodyText: 'Text Body', isTransactional: 'true'};var fd = new FormData();
var xhr = new XMLHttpRequest();
var params = "";
for (var id in query) {
var val = query[id] + "";
params += "&" + encodeURIComponent(id) + "=" + encodeURIComponent(val);
}
var queryString = "?" + params.substring(1);
xhr.open('POST', 'http://email.hostandsoft.com/v2/email/send' + queryString, true);
xhr.onload = function (e) {
var result = e.target.responseText;
console.log(JSON.parse(result));
};
xhr.send(fd);
};Copyright (c) 2011-2017 Host & Soft, Inc.
import requests
import json
from enum import Enumdata = {
'apikey': '00000000-0000-0000-0000-0000000000000',
'subject': 'Your Subject',
'from': 'youremail@yourdomain.com',
'fromName': 'Your Company Name',
'to': 'recipient1@gmail.com',
'bodyHtml':
Html Body
,
'bodyText': 'Text Body',
'isTransactional': False}
url = 'http://email.hostandsoft.com/v2/email/send'
result = requests.post(url, params = data)jsonMy = result.json()
if jsonMy['success'] is False:
return jsonMy['error']return jsonMy['data']
Copyright (c) 2011-2017 Host & Soft, Inc.
Make your life easier with our Email Marketing API
Try out our adaptable API and use it to complete or enhance the workflow for your company.
Use it to monitor your sending, browse your contact, edit your data or integrate your CMS or website with us.
Why Host & Soft's Email Marketing
- 24/7 Support - We are here to help!
- SMTP and HTTP API Access
- Detailed delivery tracking and statistics
- Unlimited Sub-Accounts
- Inbound Email API
- Campaign creation tools
- Unlimited Free Contact Storage
- Template Editing
- Detailed Campaign Statistics
- White Label Reseller Tools
Register Now
Fill out the registration form to Start sending emails
Testimonials
See all testimonialsEmail marketing provides an effective connection with your targeted audience and gives you the best return on investment. Reach out to your current and potential customers and keep them updated on your company’s latest deals and news.
The Best Email Marketing Strategy
Our team will develop the best strategy to attract the defined target audiences and establish their information needs.
Email List Cleanup
We ensures that your Email always delivers to Inbox. In past,we have launched Email Verification tool that can help you to clean up your list and always send emails to Valid recipients only.
Email Template Design
Our innovative designs and solutions are compliant and improve email deliverability. Our professional designers bring your message to life and increase your target audience engagement with your brand.
Tracking & Reporting
Our detailed reports and easy to view graphs and logs make it possible to gather and analyse data so you can make informed choices about your email marketing strategy.