Answer the question
In order to leave comments, you need to log in
How to send email via Linux CLI?
Hello, I want to use Cron to send messages to e-mail every day.
Please tell me a lightweight mailer to which you can attach a gmail account through which it will send messages.
Answer the question
In order to leave comments, you need to log in
IMHO one of the possible "correct" options:
install postfix+stunnel4
configure smtp_generic_map
send mail to a local queue with the sendmail command
----------------
This will:
1. Unload the application that sends mail
2. Ensure guaranteed delivery to the provider's server
3. Add and manage more than one email address.
Easily done through the ssmtp configuration, it allows you to change the from address, etc. things.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question