These samples show how to send email through your SocketLabs account and how to use our APIs.
The Reporting API examples show how to retrieve information about messages sent through the SocketLabs On-Demand platform in bulk. The Injection API examples show how to programatically inject messages via HTTP, as well as how to perform an in-line mail merge. The Notification API example endpoint shows how to receive HTTP notifications from our system in real-time. The Inbound API example endpoint shows how to receive parsed email messages generated from our parsing service.
Sample code for sending email through our system:
- Microsoft.NET Platform (VB.NET / C#)
- Java
- Ruby
Sample code for the Reporting API:
- Microsoft.NET Platform (C#)
- Node.js
- PHP
- Perl
- Python
Sample code for the Injection API:
- Microsoft.NET Platform (C#)
- PHP
- Ruby
Sample code for the Notification API:
- Microsoft.NET - ASP.NET MVC 5 / Web API 2 (C#)
- Microsoft.NET - ASP.NET MVC 4 (C#)
- Node.js
Sample code for the Inbound Parsing API:
- Microsoft.NET - ASP.NET MVC 3 (C#)
- Node.js
See https://www.socketlabs.com/api-reference/ for complete API documentation.