Browsing articles tagged with

mail

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 ...

Linux mail command examples – send mails from command line

Send mails from command-line Being able to send emails from command-line from a server is quite useful when you need to generate emails programatically from shell scripts or web applications for example. This tutorial explains, how to use to the mail command on linux to send mails from the command-line using the mail command. How the mail command works For those who are curious ...



Connect with us