#Install the tool in Linux
sudo apt install swaks

#Run the test for it
swaks --to sandbox@tmxintermodal.com \
  --from sign.document@tmxintermodal.com \
  --server smtp.office365.com \
  --port 587 \
  --tls \
  --auth LOGIN \
  --auth-user sign.document@tmxintermodal.com \
  --auth-password 'YourSecurePassword'
