# Libretime sending emails?

**URL:** <https://discourse.libretime.org/t/libretime-sending-emails/1615>\
**Category:** Get Help\
**Created:** [November 17, 2023, 8:03pm UTC](https://discourse.libretime.org/t/libretime-sending-emails/1615 "2023-11-17T20:03:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![unosonic](https://avatars.discourse-cdn.com/v4/letter/u/67e7ee/32.png) [@unosonic](https://discourse.libretime.org/u/unosonic)\
**Post date:** [November 17, 2023, 8:03pm UTC](https://discourse.libretime.org/t/libretime-sending-emails/1615/1 "2023-11-17T20:03:16Z")

</div>

what is this email section in /etc/libretime/config.yml used for? does the system send out emails, or can this be configured somewhere?

Libretime 3.2.0 on Ubuntu 20.04LTS

---

<div class="post-metadata">

**Author:** ![marmotte32](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/marmotte32/32/243_2.png) [@marmotte32](https://discourse.libretime.org/u/marmotte32)\
**Post date:** [May 28, 2024, 10:43am UTC](https://discourse.libretime.org/t/libretime-sending-emails/1615/2 "2024-05-28T10:43:06Z")

</div>

Hello,  
Here is the official doc: [Configuration | LibreTime](https://libretime.org/docs/admin-manual/configuration/#email)

From my side it does not work using my SMTP provider : infomaniak  
When I click on “Forgot password” no mail are delivered.

here is my config, if you find a way to make it work please tell 🙂

Edit you config file save and quit:  
**nano /etc/libretime/config.yml**

```auto
email:
  # Sender email address to use when sending emails.
  # > default is no-reply@libretime.org
  from_address: contact@myradio.dummy

  # The hostname of the SMTP server.
  # > default is localhost
  host: mail.infomaniak.com

  # The port of the SMTP server.
  port: 465

  # Whether to use an insecure connection, an SSL/TLS (implicit) connection (generally
  # on port 465) or a STARTTLS (explicit) connection (generally on port 587) when
  # talking to the SMTP server.
  # > must be one of (ssl/tls, starttls)
  encryption: ssl/tls

  # The username to use for the SMTP server.
  # > default is ""
  user: "myaccount"

  # The password to use for the SMTP server.
  # > default is ""
  password: "mypassword"

  # Timeout in seconds for blocking operations like the connection attempt.
  timeout:
  # The path to a PEM-formatted certificate chain file to use for the connection.
  cert_file:
  # The path to a PEM-formatted private key file to use for the connection.
  key_file:

```

**You must restart the libretime service :**  
systemctl restart libretime.target
