You have to configure mail server in Linux server. Then you can use following command to send mails.
For mail -
mail -s "subject" recipients_emails < mail body
For SMS -
mail -s "subject" number@your_email_domain < mail body
No comments:
Post a Comment