Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some word-choice changes for easier reading #662

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
lastUpdated: "02/08/2020"
lastUpdated: "03/11/2022"
title: "SMTP Injection with STARTTLS using swaks"
description: "One of our customers recently ran into issues attempting to send a test email via SMTP injection using STARTTLS while working with the openssl client Our resolution is to utilize the swaks Swiss Army Knife for SMTP This command line utility makes it easy to send a test email via..."
---

One of our customers recently ran into issues attempting to send a test email via SMTP injection using STARTTLS while working with the openssl client. Our resolution is to utilize the "swaks" ([Swiss Army Knife for SMTP](http://www.jetmore.org/john/code/swaks/)). This command line utility makes it easy to send a test email via SMPTP and provides verbose output so you're able to view the commands and responses issued by the utility and received from the server.
One of our customers recently ran into issues trying to send a test email through SMTP injection using STARTTLS while working with the openssl client. Our solution is to use the "swaks" ([Swiss Army Knife for SMTP](http://www.jetmore.org/john/code/swaks/)). This command line utility makes it easy to send a test email using SMPTP. It has detailed output so you can see the commands from the utility and the responses from the server.

Prerequisites:

Expand All @@ -13,7 +13,7 @@ Prerequisites:

## Sending a Test Email Using swaks

Once you have swaks downloaded (optionally available in your PATH), you can send a test email using SparkPost SMTP injection by running the following command in a terminal window:
Once you have swaks downloaded (optionally available in your PATH), you can send a test email using SparkPost SMTP injection by running this command in a terminal window:

```
swaks -server smtp.sparkpostmail.com:587 -tls --auth-user SMTP_Injection --auth-password <**API_KEY>** --to <**TO_EMAIL>** --from <**FROM_EMAIL>**
Expand Down