Notice

From version hg:36a9d0f6f29b (2017-10-02), AMC can be configured to send emails with anthenticated SMTP (see Edit/Preferences/Email). Try this first.

Setup AMC to send email

The following steps lists down how to configure AMC to send email.

1) Install msmtp

$ sudo apt-get install msmtp

2) Create msmtp configuration file

Create a msmtp configuration file named .msmtprc in your home directory.

3) Set permission for .msmtprc file

Set permission for .msmtprc file so that only you can read and write it.

$ touch ~/.msmtprc
$ chmod 0600 ~/.msmtprc

4) Edit .msmtprc file

Add the following content to .msmtprc file and save it.

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@gmail.com
password your_password

account default: gmail

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.

If you have a message with Perl and "Email::Address", then you have to install perl modules typing :

  • cpan
  • in "cpan", install Email::Address

If you have a message "Broken pipe", with gmail, you have to allow non secure applications in Gmail parameters.