Version : v0.3.5
Release Date : 25-Jan-21
mSend is tiny utility to send unlimited email.
sudo curl -L "https://github.com/HarryTheDevOpsGuy/msend/raw/master/$(uname -p)/msend" -o /usr/bin/msend
sudo chmod +x /usr/bin/msend
msend -h
mSend uses your gmail smtp login credentials to sent email. so you need to generate your smtp auth token by executing below command.
./msend --get-smtp-auth
Output :
Please Enter Valid Credentials
Enter Your Gmail ID : [email protected]
Enter Your Gmail PASSWORD : secret@password
Enter Email Sender Name : Harry
Your SMTP AUTH TOKEN has been Saved in ~/.mSend/msend.conf
- Go to your Google Account
- On the left navigation panel, click Security.
- On the bottom of the page, in the Less secure app access panel, click Turn on access.
You can create your own html templates. send your email by executing below commmand. Here we have created a html email template for you ~/.mSend/email_template.html
msend -t [email protected] -s "mSend Has been Installed" -f ~/.mSend/email_template.html -a /var/log/nginx/error.log
Follow below step to configure SMTP
- Go To
~/.mSend
Directory. - Open
msend.conf
file in your text editor. - Update variables value according to your details.
- Done.
Here is sample msend.conf
# Replace below variables and uncomment according to your credentials and details.
# To Send email with AWS SES.
# EMAIL_MODE='SES'
# EMAIL_FROM='mSend <[email protected]>'
# AWS_DEFAULT_REGION='ap-south-1'
# AWS_ACCESS_KEY_ID='yourAcess_key'
# AWS_SECRET_ACCESS_KEY='YourAWS_secret_key'
## To Send email with Gmail
# EMAIL_SENDER_LIST=("your_smtp_auth_token" "your_smtp_auth_token2")
# SENDER_NAME="Harry"
# REPLY_EMAIL_ADDRESS="Harry <[email protected]>
- You can add multiple smtp credentials in
EMAIL_SENDER_LIST
variable. REPLY_EMAIL_ADDRESS
is very important recipient will reply on this email id.- if
EMAIL_MODE='SES'
You must install aws cli on your host.
No Need to worry about updatation. it will update automatically every 30 days. also you can update anytime if it is required.
Run below command to Update
msend --update
- Utility Name : mSend
- Developed by : Harry
- Email : [email protected]
- Sponsored by : eSpoir Soft pvt Ltd
- Shankar Deo
- Kapil Yadav
- Chandan Bisht
- Satya
Thank you So much for your contribution.