Last active
June 28, 2022 10:09
-
-
Save vguerrerobosch/36f0af712f12525eeaa684e5f0d70e3f to your computer and use it in GitHub Desktop.
Curl test SMTP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --ssl-reqd smtp://smtp.office365.com:587 \ | |
--mail-from [email protected] \ | |
--mail-rcpt [email protected] \ | |
--user '[email protected]:password' \ | |
-T <(echo -e 'From: [email protected]\nTo: [email protected]\nSubject: Curl Test\n\nHello') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment