Configuration of sending messages via e-mail¶
To successfully send messages using e-mail, the OTPsender module needs to make the following settings:
Specify the following parameters in the configuration file of the OTPsender module in the
[email]
section:``password`` is password for authorization in the mail service; ``port`` is port for connecting to the SMTP server, port 465 is used by default; ``smtp_server`` is SMTP server that will be used to send mail; ``username`` is service user name in the mail service.
Restart the web server, as well as the services of the OTPsender module:
systemctl restart apache2 systemctl restart aos-otp-sender*
In the configuration file of the Dashboard module, change the value of the
otp_sender_method
parameter in the[DEFAULT]
section fromtelegram
toemail
.Restart the web server and caching service:
systemctl restart apache2 systemctl restart memcached