Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Directus
  3. Password Reset needs sendmail configuring it seems

Password Reset needs sendmail configuring it seems

Scheduled Pinned Locked Moved Directus
4 Posts 3 Posters 409 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    wrote on last edited by
    #1

    c71ccc2b-f075-4de9-aa9e-a5fec672ca66-image.png

    Web Design https://www.evergreen.je
    Development https://brandlight.org
    Life https://marcusquinn.com

    1 Reply Last reply
    0
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by girish
      #2

      @marcusquinn Good catch. Fixed. If you open up /app/data/config/project.php, change the email section to be like this (the 'from' and 'host' were set incorrectly):

              'default' => [
                  'transport' => 'smtp',             // How to send emails. Supports `smtp` and `sendmail`
                  'from' => getenv('CLOUDRON_MAIL_FROM'),  // The sender of the email
                  'host' => getenv('CLOUDRON_MAIL_SMTP_SERVER'),
                  'port' => getenv('CLOUDRON_MAIL_SMTP_PORT'),
                  'username' => getenv('CLOUDRON_MAIL_SMTP_USERNAME'),
                  'password' => getenv('CLOUDRON_MAIL_SMTP_PASSWORD'),
                  'encryption' => null
              ],
      
      marcusquinnM 1 Reply Last reply
      1
      • murgeroM Offline
        murgeroM Offline
        murgero
        App Dev
        wrote on last edited by
        #3

        Isn't SMTP set in the apps admin panel though?

        --
        https://urgero.org
        ~ Professional Nerd. Freelance Programmer. ~

        1 Reply Last reply
        0
        • girishG girish

          @marcusquinn Good catch. Fixed. If you open up /app/data/config/project.php, change the email section to be like this (the 'from' and 'host' were set incorrectly):

                  'default' => [
                      'transport' => 'smtp',             // How to send emails. Supports `smtp` and `sendmail`
                      'from' => getenv('CLOUDRON_MAIL_FROM'),  // The sender of the email
                      'host' => getenv('CLOUDRON_MAIL_SMTP_SERVER'),
                      'port' => getenv('CLOUDRON_MAIL_SMTP_PORT'),
                      'username' => getenv('CLOUDRON_MAIL_SMTP_USERNAME'),
                      'password' => getenv('CLOUDRON_MAIL_SMTP_PASSWORD'),
                      'encryption' => null
                  ],
          
          marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by
          #4

          @girish Thanks. Confirmed Solved.

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search