Skip to content

Commit

Permalink
Added email script
Browse files Browse the repository at this point in the history
  • Loading branch information
Varsha-Verma committed Apr 22, 2023
1 parent a52e8f6 commit 9c9d15d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions emailsetup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#This script will send mail to the mentioned email-id:

#!/bin/bash
Recipient=”admin@example.com”
Subject=”Greeting”
Message=”Welcome to our site”
`mail -s $Subject $Recipient <<< $Message`

0 comments on commit 9c9d15d

Please sign in to comment.