How Email Actually Gets Sent: A Look At SMTP

X-Apparently-To: secretemail@provider.com; Thu, 26 Mar 2020 23:31:09 +0000
Return-Path: <bounces+2178037–967c-secretemail=provider.com@email.foodie.trycaviar.com>
Authentication-Results: mta4468.mail.bf1.yahoo.com;
dkim=pass (ok) @foodie.trycaviar.com”>header.i=@foodie.trycaviar.com header.s=s1;
dkim=pass (ok) @sendgrid.info”>header.i=@sendgrid.info header.s=smtpapi;
spf=pass @email.foodie.trycaviar.com”>smtp.mailfrom=@email.foodie.trycaviar.com;
dmarc=pass(p=quarantine sp=NULL dis=none) header.from=trycaviar.com;
Received-SPF: pass (domain of email.foodie.trycaviar.com designates 167.89.63.234 as permitted sender)
X-Originating-IP: [167.89.63.234]
Received: from 10.197.32.140 (EHLO o48.email.foodie.trycaviar.com) (167.89.63.234)
by mta4468.mail.bf1.yahoo.com with SMTPS; Thu, 26 Mar 2020 23:31:08 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=foodie.trycaviar.com;
h=content-type:from:mime-version:reply-to:to:subject; s=s1;
bh=YlMg2L5M8TcplcxihVyhDyQPB40kE7Unn369HKZ3tj4=; b=ABGte+F6Qu+xT
jQ64AIt83donOVvWcvEqZrpgrY6bpK32cZ/JkneoxCH3eFAtIcccleDFyugwiQnO
e19Yc5FQwhziog7zDQi6LmpJubD9nqBJJ3N9ITXT4Rg6UYS+clpmKwNuGRdB3oMK
2RsTkYU7qpCBBCImica0rSJDnatlLU=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=sendgrid.info;
h=content-type:from:mime-version:reply-to:to:subject; s=smtpapi;
bh=YlMg2L5M8TcplcxihVyhDyQPB40kE7Unn369HKZ3tj4=; b=rjxxTnMo04Uis
aaguV1S6Ysqyh7E/VLf4vT9mHLsuF2druZ6B/0ge4Lvyr5131n34gV+o2zqpNWPr
6RlN0Qpu1jr0Af4shDf6XkAu/AnHeev4irn4d9/Tr+hFRrhxakeGddjKikdidLNr
K7a4Ie9hphqFQopJZs/p0whFUZD9Q0=
Received: by filter1323p1las1.sendgrid.net with SMTP id filter1323p1las1–31676–5E7D3B39–10
2020–03–26 23:31:05.45317912 +0000 UTC m=+85251.092327867
Received: from MjE3ODAzNw (unknown)
by ismtpd0050p1mdw1.sendgrid.net (SG) with HTTP id 4CejyYy6QrqoW-F8Gnxmew
Thu, 26 Mar 2020 23:31:05.358 +0000 (UTC)
Content-Type: multipart/alternative; boundary=eb8db8ca34fb2fa8254fd70754c309dbd5d5ba4fe01a1d742edb4ef09903
Date: Thu, 26 Mar 2020 23:31:05 +0000 (UTC)
From: “Caviar” <hungry@trycaviar.com>
Mime-Version: 1.0
Reply-to: hungry@trycaviar.com
To: secretemail@provider.com
Message-ID: <4CejyYy6QrqoW-F8Gnxmew@ismtpd0050p1mdw1.sendgrid.net>
Subject: New restaurants are here
Content-Length: 81247
— eb8db8ca34fb2fa8254fd70754c309dbd5d5ba4fe01a1d742edb4ef09903
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Mime-Version: 1.0
Plus, take 10% off. *******************
Oh, hey. New spots.
*******************
........
  1. Run brew install telnet
  2. Run sudo python -m smtp -n -c DebuggingServer localhost:2525
  3. In a new Terminal window, run telnet localhost 2525

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aryaman Sharda

Aryaman Sharda

111 Followers

Staff iOS Engineer @ Turo. Previously, Scoop Technologies & Porsche Digital