Integrate SMTP by Connect with Amazon SQS

Appy Pie Connect allows you to automate multiple workflows between SMTP by Connect and Amazon SQS

  • No credit card required
  • 7 days free trial
  • Lightning Fast Setup

20 Million work hours saved

Award Winning App Integration Platform

About SMTP by Connect

Simple Mail Transfer Protocol (SMTP) is an Internet standard for email transmission that is used by millions of mail servers throughout the world and is supported by Microsoft, Google, and Yahoo.

About Amazon SQS

Amazon SQS is a fully managed message queuing service. It offers reliable, highly scalable, reliable messaging and transaction processing that lets you decouple tasks or processes that must communicate.

Want to explore SMTP by Connect + Amazon SQS quick connects for faster integration? Here’s our list of the best SMTP by Connect + Amazon SQS quick connects.

Explore quick connects

Looking for the Amazon SQS Alternatives? Here is the list of top Amazon SQS Alternatives

  • GitLab Integration GitLab
  • GitHub Integration GitHub
  • DialMyCalls Integration DialMyCalls
  • ServiceNow Integration ServiceNow
  • OneSignal Integration OneSignal
  • Zoho Creator Integration Zoho Creator
Connect SMTP by Connect + Amazon SQS in easier way

It's easy to connect SMTP by Connect + Amazon SQS without coding knowledge. Start creating your own business flow.

  • Triggers
  • New Queue

    Triggers when you add a new queue

  • Actions
  • Send Email

    Sends a plaintext email from a specific SMTP server.

  • Create JSON Message

    Create a new JSON message using data from the source trigger

  • Create Message

    Create a new message.

  • Create Queue

    Create a new queue

How SMTP by Connect & Amazon SQS Integrations Work

  1. Step 1: Choose SMTP by Connect as a trigger app and authenticate it on Appy Pie Connect.

    (30 seconds)

  2. Step 2: Select "Trigger" from the Triggers List.

    (10 seconds)

  3. Step 3: Pick Amazon SQS as an action app and authenticate.

    (30 seconds)

  4. Step 4: Select a resulting action from the Action List.

    (10 seconds)

  5. Step 5: Select the data you want to send from SMTP by Connect to Amazon SQS.

    (2 minutes)

  6. Your Connect is ready! It's time to start enjoying the benefits of workflow automation.

Integration of SMTP by Connect and Amazon SQS

The purpose of this article is to introduce you to the concept of using a third party SMTP service to increase the performance of your email deliveries, and how that same service can be integrated into an Amazon SQS based workflow. This will allow us to set up a system that will automatically process incoming emails through an Amazon SQS queue and then process those emails accordingly in an asynchronous manner. We will use Amazon SQS to receive our emails, and then integrate it with the SendGrid webhooks API to automate the delivery process.

The primary application we will be integrating with is SendGrid, but the integration techniques we use here can be applied to any third party application that supports webhooks.

For our third party SMTP provider, we will use SendGrid. SendGrid offers an API that allows us to integrate their services into our own applications, including their “Message Delivery API”, which allows for processing outgoing email as well as incoming email. In addition to the Message Delivery API, SendGrid also offers a webhooks API, which allows for triggering webhooks based on actions occurring within their various systems. As an example, when an email is received by SendGrid from one of your IP addressses, they will call a “receive” webhook that you have configured in order to process that message.

For more information on SendGrid’s services, including the Message Delivery API and Webhooks API, please visit their website at

The first step we need to take before integrating SendGrid into our workflow is to set up a SendGrid account and create an API key. Please note that SendGrid offers both a free plan and paid plans with additional features, which are not required for our workflow.

Once you have created your account and an API key, we can configure our new SMTP by Connect instance to use that API key as well as our SendGrid account in order for it to send emails on our behalf. The first thing we need to do is get the SMTP credentials from our existing email infrastructure so that we can add them to our new Connect instance. The SMTP credentials should include the fplowing:

username. [email protected]

password. password1 (or whatever your password was)

Once we have those credentials, we need to configure the SMTP credentials on our Connect instance. To do this, log into your Connect instance via SSH and run the fplowing commands:

# cd /usr/local/connect/etc/config # vi sendgrid-smtp-config.xml

At this point you should already have the email address and password you want to use for sending emails through this Connect instance. If not, fill out those fields now. Once you have filled out those fields, save and close sendgrid-smtp-config.xml . Once saved, restart Connect so that the changes take effect:

# /usr/local/connect/bin/connect stop # /usr/local/connect/bin/connect start

Now that Connect is configured to use SendGrid, let’s go ahead and test this out by sending an email through our Connect instance. To do this, open up a terminal window on your Mac and run the fplowing command:

# echo "This is my test message" | mail -s "test" [email protected] < /devull

If everything worked correctly, you should see an email appear in your inbox with your testing message included as its content. You should also see a SENT MAIL record in your Connect logs:

The process to integrate SMTP by Connect and Amazon SQS may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.

Page reviewed by: Abhinav Girdhar  | Last Updated on March 14,2023 02:59 pm