As the email service provider (ESP) market continues to grow, consumers are finding it harder to choose the right email service for them. Having been around since the beginning, SocketLabs has always been a reliable and robust email platform, helping customers get more from their email solution. In this SendGrid migration guide we are going to show you how easy it is to transition to a new ESP and get more from your email solution.
SendGrid customers who are interested in migrating to SocketLabs are looking for a service with more robust features and a more personalized approach to deliverability consultation and support. Luckily for these movers, migrating from your SendGrid account to the SocketLabs platform has never been easier.
If you are new to our email service and want to learn more about SocketLabs before reading further, check out our email solutions and have a look through our developer hub.
SocketLabs is built on the robust foundation of our fast, flexible, and reliable email APIs. The robust email solutions that our customers love are a direct result of the powerful APIs that lay at our foundation. From our injection API to our reporting API, we have 6 different APIs and other email solutions that can change the way you deliver email. This guide will take you through the easy steps to start sending email with SocketLabs while covering some of the benefits of our platform that your current providers lacks.
SMTP
How to Get Your SMTP Credentials
Log into the Control Panel at https://cp.socketlabs.com. Once in the Control Panel, click the “View” button next to your Server to go to the Server Dashboard. From the Server Dashboard click the “Configuration” option, then select SMTP Credentials in the drop-down menu. Please keep your SMTP Credentials secure. While you are in the Control Panel, it might be a good time to look around and see all the reports, settings, features and functionality available to you.
If you’re sending via SMTP, there are a few things you should know. All SMTP connections should use the hostname smtp.socketlabs.com.
SocketLabs accepts SMTP connections on ports 25, 2525, 587, and 465. Please note that connections to port 465 require the use of implicit SSL.
While SendGrid supports up to 10 simultaneous connections and 100 messages per connection, SocketLabs supports up to 20 connections with 500 recipients per connection.
More information on connecting to SocketLabs over SMTP can be found in our Help Center.
APIs
API Libraries
We have six officially supported API Libraries to make integration easier for our customers. If you’re rewriting any code, or refactoring how you communicate with your ESP as part of your migration, now is a good time to evaluate these libraries:
- socketlabs-csharp – Official C# library
- socketlabs-go – Official Go library
- socketlabs-java – Official Java library
- socketlabs-nodejs – Official NodeJS library
- socketlabs-php – Official PHP library
- socketlabs-python – Official Python library
Injection API (Sending Email)
First you’ll need to set up a SocketLabs account which you can do for free. Next, you should create an API key that you’ll use for sending. Once logged in, navigate to the Injection API key page to generate your API key. Further instructions to get started with the Injection API in your language of choice are available on this page.
Injection API Features
The Injection API supports plain text and HTML messages, or you can create your own templates using the drag and drop editor in our Email Marketing Center. The API supports everything from a basic message to a single recipient all the way to a complex bulk message with unique merge data to many different recipients.
We also make it easy to add attachments to your API request. Just encode your file as a Base64 string and embed it directly in the JSON payload alongside MIME content information. If you are using one of our official libraries, the library will even handle this part for you.
For more information about the Injection API, please see our full API documentation.
Webhooks
SocketLabs provides two webhooks: the Notification API for receiving real-time POST notifications about email related events such as delivered, failed, opened messages, and even unsubscribes. We also provide the Inbound Parse API for receiving emails, parsing the email into JSON, and programmatically reacting to them.
If you are migrating from SendGrid and use the Event Webhooks or Inbound Email Parse Webhooks, please review the documentation linked above for information on how to validate your endpoint with SocketLabs and the format of HTTP POSTs that we will send to your endpoint.
Other SocketLabs APIs
In addition to the Injection API and the webhooks described above, SocketLabs also offers additional API:
- SocketLabs Marketing API which allows you to programmatically manage contacts within your recipient lists for use with SocketLabs Marketing tools.
- SocketLabs Reporting API which allows you to query and access statistics about a mail stream in scenarios where webhooks are not appropriate.
- SocketLabs Suppression API which allows you to programmatically query your Suppression List to search for, add, or remove addresses. Available on Enterprise plans.
Marketing Campaigns
Another great benefit to using the SocketLabs platform is our Marketing Center. This platform comes with all of the tools and technology you will need to maximize the success of your email. With easy-to-use templates, drag and drop design, list segmentation and targeting, drip campaigns, and tons more, our email marketing center has everything you will need to create and send your email marketing campaign.
SocketLabs
If you want to learn more about SocketLabs and the email solutions we offer, visit us on our website or you can call, chat, or visit our help center. If you are ready to upgrade your email system with SocketLabs, you can get a custom quote here.
SocketLabs FAQ
Q: Can I integrate SocketLabs email reporting into my application or website?
A: Yes, SocketLabs offers advanced statistical reporting which provides 24/7 real-time reporting into how your emails are performing. You can integrate this reporting easily using our powerful reporting API.
Q: Can I migrate my IP address and sender reputation from my existing email platform to SocketLabs?
A: We cannot migrate your existing IP address to our email platform however we always take the necessary steps to warm-up all new IP addresses and apply sending best practices so all senders using SocketLabs will be set up for success.
Q: Will SocketLabs improve my email success rates?
A: SocketLabs offers real-time email analytics so senders can track every aspect of their email performance, automatic bounce processing and suppression list placement to help maintain a good IP reputation, and all of the latest authentication technologies that will help secure your email and improve your deliverability.