Made this script using sendEmail command:
#!/bin/bash
echo -n "Enter \"Destination Address\" "
read A
echo -n "Enter \"Subject Line\" "
read B
echo -n "Enter \"Message\" "
read C
sendEmail -f abcdefghijklm@gmail.com -t $A -s smtp.myisp.net -u $B -m $C
No comments:
Post a Comment