Test outbound mail flow with a file in the pickup folder

Maciej
1 min readJan 24, 2019

--

The SMTP service accepts SMTP Request for Comments (RFC)-822 formatted messages for delivery. The service builds the RFC-821 header based on the 822 information in the file. To create an SMTP RFC-822 formatted message, follow these steps:

  1. Create the file using a text editor such as Microsoft Notepad, and then type the message information into the file.
  2. Save the file without an extension. To do so in Notepad, insert quotation marks (“ “) around the file name, and then save the file.
  3. When the file name includes quotation marks, Notepad saves the document as a .txt file by default. The name of the file is irrelevant, you can name the file to suit your needs.
to:user@externaldomainname.com
from:testuser@internaldomain.com
subject:This is a test.
this is a test.

--

--

Maciej

DevOps Consultant. I’m strongly focused on automation, security, and reliability.