Red hat linux Shell scripting

Send E-Mail On Redhat / CentOS with SMTP (SMTP Relay)

In this tutorial we will send email with mailx and using external SMTP server for email sending from CentOS/Redhat

Install mailx

We can now start sending e-mails using

create a symbolic link

Set an External SMTP Server to Relay E-Mails

edit

example usage :

Leave a Reply

Your email address will not be published. Required fields are marked *