Browsing articles tagged with

mailx

Send mail from command line with external smtp server on Linux

Send mail via SMTP servers The default mail command on the Linux terminal, uses the local smtp server (mta) on port 25 to transmit emails. However at times you need to specify an external smtp server to use for sending mails. For example you have just setup an smtp server, like Postfix or Exim, then you would want to test it out ...

9 mail/mailx command examples to send emails from command line on Linux

Send mails from command line The mail command is an essential one that should be available on any linux server so that various services and other web applications can generate and transmit emails. In a previous we saw how the mail command can be used to send emails from the command line on your linux server. In this tutorial we shall be ...



Connect with us