Setup AMC to send email
Version 1 (Anirvan Sarkar, 09/18/2020 03:38 pm) → Version 2/3 (Alexis Bienvenüe, 09/18/2020 03:38 pm)
h1. Notice
From version commit:36a9d0f6f29b (2017-10-02), AMC can be configured to send emails with anthenticated SMTP (see _Edit/Preferences/Email_). Try this first.
h1. Setup AMC to send email
The following steps lists down how to configure AMC to send email.
h3. 1) Install @msmtp@
<pre>
$ sudo apt-get install msmtp
</pre>
h3. 2) Create @msmtp@ configuration file
Create a @msmtp@ configuration file named _.msmtprc_ in your home directory.
h3. 3) Set permission for _.msmtprc_ file
Set permission for _.msmtprc_ file so that only you can read and write it.
<pre>
$ touch ~/.msmtprc
$ chmod 0600 ~/.msmtprc
</pre>
h3. 4) Edit _.msmtprc_ file
Add the following content to _.msmtprc_ file and save it.
<pre>
defaults
######################################################################
# A sample configuration using Gmail
######################################################################
# account name is "gmail".
account gmail
host smtp.gmail.com
tls on
tls_certcheck off
port 587
auth login
from your_user_name@gmail.com
user your_user_name
password your_password
account default: gmail
</pre>
h3. 5) Setup AMC to use @msmtp@
* Start AMC and open _Edit->Preferences->Email_.
* Select @sendmail@ for _Mail delivery method_ .
* Type @/usr/bin/msmtp@ in _sendmail path_ section.
Now you send emails from AMC.
From version commit:36a9d0f6f29b (2017-10-02), AMC can be configured to send emails with anthenticated SMTP (see _Edit/Preferences/Email_). Try this first.
h1. Setup AMC to send email
The following steps lists down how to configure AMC to send email.
h3. 1) Install @msmtp@
<pre>
$ sudo apt-get install msmtp
</pre>
h3. 2) Create @msmtp@ configuration file
Create a @msmtp@ configuration file named _.msmtprc_ in your home directory.
h3. 3) Set permission for _.msmtprc_ file
Set permission for _.msmtprc_ file so that only you can read and write it.
<pre>
$ touch ~/.msmtprc
$ chmod 0600 ~/.msmtprc
</pre>
h3. 4) Edit _.msmtprc_ file
Add the following content to _.msmtprc_ file and save it.
<pre>
defaults
######################################################################
# A sample configuration using Gmail
######################################################################
# account name is "gmail".
account gmail
host smtp.gmail.com
tls on
tls_certcheck off
port 587
auth login
from your_user_name@gmail.com
user your_user_name
password your_password
account default: gmail
</pre>
h3. 5) Setup AMC to use @msmtp@
* Start AMC and open _Edit->Preferences->Email_.
* Select @sendmail@ for _Mail delivery method_ .
* Type @/usr/bin/msmtp@ in _sendmail path_ section.
Now you send emails from AMC.