Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- recipients="user1@abc.com, user2@abc.com, user3@abc.com"
- subject="TEST"
- from="TEST@abc.com"
- message_txt="TEST"
- /usr/sbin/sendmail "$recipients" << EOF
- subject:$subject
- from:$from
- $message_txt
- EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement