Skip to content

ookangzheng

  • About
  • Design
    • UI/UX
  • Dev
    • Linux
    • Mac
    • Windows
    • Software recommend
    • Site recommend
  • Life

Linux command line sending mail via SMTP

EdwardonJuly 21, 2019May 24, 2020

Test your destination SMTP server

telnet smtp.mailendo.com 25

Install swaks command line tool

apt-get install swaks

Play with it ~~

echo "This is the message body" | swaks --to [email protected] --from "[email protected]" --server smtp.mailendo.com --auth LOGIN --auth-user "[email protected]" --auth-password "asdfasdf”

Enjoy ?

CategoriesLinux, Technology

Post navigation

Linux

Nginx add basic authentication

Step 1 — Installing Apache Tools You’ll need the htpassword command to configure the password that will restrict access to the target…

Linux

Upgrade Debian from stretch to buster 10

This tutorial will guide you upgrade Debian 9 to 10

Proudly powered by WordPress | Theme: Justread by GretaThemes.