Search found 1 match

by mayuril
Wed Jan 16, 2019 5:41 am
Forum: Open Source Nagios Projects
Topic: set up email alerts using mailx
Replies: 33
Views: 15027

Re: set up email alerts using mailx

This is an all-in-one command that sends email to $TO_EMAIL_ADDRESS . You need to also replace these $FROM_EMAIL_ADDRESS and $FRIENDLY_NAME variables with your email and name. $ mailx -v -s "$EMAIL_SUBJECT" \ -S smtp=smtp://smtp.ust.hk \ -S from="$FROM_EMAIL_ADDRESS($FRIENDLY_NAME)&qu...