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. Easy!Appointments
  3. Email notifications are not working

Email notifications are not working

Scheduled Pinned Locked Moved Unsolved Easy!Appointments
7 Posts 4 Posters 718 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic was forked from Email notifications nebulon
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mave
    wrote on last edited by
    #1

    Hi,
    I installed current V1.5 on Cloudron, but email notifications doesn't work. The developer refers to email.php that includes on Cloudron this:

    $config['useragent'] = 'Easy!Appointments';
    $config['protocol'] = 'smtp'; // or 'smtp'
    $config['mailtype'] = 'html'; // or 'text'
    // $config['smtp_debug'] = '0'; // or '1'
    $config['smtp_auth'] = TRUE; //or FALSE for anonymous relay.
    $config['smtp_host'] = getenv('CLOUDRON_MAIL_SMTP_SERVER');
    $config['smtp_user'] = getenv('CLOUDRON_MAIL_SMTP_USERNAME');
    $config['smtp_pass'] = getenv('CLOUDRON_MAIL_SMTP_PASSWORD');
    $config['smtp_crypto'] = 'no'; // or 'tls'
    $config['smtp_port'] = getenv('CLOUDRON_MAIL_SMTP_PORT');

    Which user is the configuration aimed at? The app sets an 'administrator", not a cloudron user.
    I installed not on main domain, issues with value of CLOUDRON_MAIL_SMTP_SERVER?
    Really no crypto, no tls?

    Regards,
    Markus

    1 Reply Last reply
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Forked this here, likely unrelated to the other topic from 4 years ago.

      So on Cloudron app will get automatically pre-configured with email settings. The email solution runs locally on the system, so there is no need for encryption on localhost.

      Do you have any error logs from the email sending attempt?

      1 Reply Last reply
      0
      • nebulonN nebulon marked this topic as a question on
      • M Offline
        M Offline
        mave
        wrote on last edited by mave
        #3

        Hi and thanks!

        App-Log ends with an error:

        --B_ATC_67391e379ef68--</pre>
        ERROR - 2024-11-16 22:35:35 --> #0 /app/code/application/libraries/Notifications.php(94): Email_messages->send_appointment_saved()
        #1 /app/code/application/controllers/Booking.php(461): Notifications->notify_appointment_saved()
        #2 /app/code/system/core/CodeIgniter.php(481): Booking->register()
        #3 /app/code/index.php(331): require_once('...')
        #4 {main}
        root@e667a2d3-0724-436b-b80b-133621ba24b3:/app/code/storage/logs#
        

        And pre-configured values are:

        root@e667a2d3-0724-436b-b80b-133621ba24b3:/app/code# echo $CLOUDRON_MAIL_SMTP_SERVER
        === => mail
        root@e667a2d3-0724-436b-b80b-133621ba24b3:/app/code# echo $CLOUDRON_MAIL_SMTP_USERNAME
        === => fahrmich.app@freiesachen.de
        root@e667a2d3-0724-436b-b80b-133621ba24b3:/app/code# echo $CLOUDRON_MAIL_SMTP_PASSWORD
        === => 4959f7213db8cb1250d630d5b6feb7409652bf823bfc3c9d
        root@e667a2d3-0724-436b-b80b-133621ba24b3:/app/code# echo $CLOUDRON_MAIL_SMTP_PORT
        === =>2525
        root@e667a2d3-0724-436b-b80b-133621ba24b3:/app/code#
        

        App-Domain here is 'fahrmich.freiesachen.de' on a cloudron instance 'box2mail.de'. Mail-Server is mail.box2mail.de. E-Mail-configuration has NO account 'fahrmich.app@freiesachen.de'. Or is this all internal mechanism?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mave
          wrote on last edited by
          #4

          This is log from cloudron-terminal while trying to set an appointment:
          (appears in database/calendar, onlly no email-notification)

          Nov 17 10:28:20 - - - - [17/Nov/2024:09:28:20 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:28:30 - - - - [17/Nov/2024:09:28:30 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:28:40 - - - - [17/Nov/2024:09:28:40 +0000] "GET / HTTP/1.1" 200 269508 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:28:41 - 88.133.138.85 - - [17/Nov/2024:09:28:41 +0000] "GET / HTTP/1.1" 200 269506 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:28:42 - 88.133.138.85 - - [17/Nov/2024:09:28:42 +0000] "GET /index.php/booking/get_unavailable_dates?provider_id=2&service_id=1&selected_date=2024-11-17&csrf_token=9af9a75d66d8241a4828fa7c35e08686&manage_mode=0&appointment_id= HTTP/1.1" 200 209 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:28:42 - 88.133.138.85 - - [17/Nov/2024:09:28:42 +0000] "POST /index.php/booking/get_available_hours HTTP/1.1" 200 193 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:28:50 - - - - [17/Nov/2024:09:28:50 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:29:00 - - - - [17/Nov/2024:09:29:00 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:29:10 - - - - [17/Nov/2024:09:29:10 +0000] "GET / HTTP/1.1" 200 269508 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:29:17 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "GET / HTTP/1.1" 200 269506 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:17 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "GET /assets/vendor/cookieconsent/cookieconsent.min.js?ZV954 HTTP/1.1" 200 6756 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:17 <30>1 2024-11-17T09:29:17Z v2202405114956267373 e667a2d3-0724-436b-b80b-133621ba24b3 1014 e667a2d3-0724-436b-b80b-133621ba24b3 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "GET /assets/vendor/@popperjs-core/popper.min.js?ZV954 HTTP/1.1" 200 7363 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:17 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "GET /assets/vendor/bootstrap/bootstrap.min.js?ZV954 HTTP/1.1" 200 16574 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:17 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "GET /assets/js/app.min.js?ZV954 HTTP/1.1" 200 399 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:17 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "GET /index.php/booking/get_unavailable_dates?provider_id=2&service_id=1&selected_date=2024-11-17&csrf_token=9af9a75d66d8241a4828fa7c35e08686&manage_mode=0&appointment_id= HTTP/1.1" 200 209 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:17 - 88.133.138.85 - - [17/Nov/2024:09:29:17 +0000] "POST /index.php/booking/get_available_hours HTTP/1.1" 200 193 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:20 - - - - [17/Nov/2024:09:29:20 +0000] "GET / HTTP/1.1" 200 269506 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:29:30 - - - - [17/Nov/2024:09:29:30 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:29:35 - 88.133.138.85 - - [17/Nov/2024:09:29:35 +0000] "POST /index.php/booking/get_available_hours HTTP/1.1" 200 257 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:29:40 - - - - [17/Nov/2024:09:29:40 +0000] "GET / HTTP/1.1" 200 269505 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:29:50 - - - - [17/Nov/2024:09:29:50 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:30:00 - - - - [17/Nov/2024:09:30:00 +0000] "GET / HTTP/1.1" 200 269508 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:30:10 - - - - [17/Nov/2024:09:30:10 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:30:13 - => Run sync task
          Nov 17 10:30:16 - 88.133.138.85 - - [17/Nov/2024:09:30:16 +0000] "POST /index.php/booking/register HTTP/1.1" 200 54 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:16 - 88.133.138.85 - - [17/Nov/2024:09:30:16 +0000] "GET /index.php/booking_confirmation/of/9Qvp2wMKoPum HTTP/1.1" 200 11658 "https://fahrmich.freiesachen.de/" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:16 - 88.133.138.85 - - [17/Nov/2024:09:30:16 +0000] "GET /assets/img/success.png HTTP/1.1" 200 5968 "https://fahrmich.freiesachen.de/index.php/booking_confirmation/of/9Qvp2wMKoPum" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:16 - 88.133.138.85 - - [17/Nov/2024:09:30:16 +0000] "GET /assets/js/layouts/message_layout.min.js?ZV954 HTTP/1.1" 200 63 "https://fahrmich.freiesachen.de/index.php/booking_confirmation/of/9Qvp2wMKoPum" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:16 - 88.133.138.85 - - [17/Nov/2024:09:30:16 +0000] "GET /assets/js/http/localization_http_client.min.js?ZV954 HTTP/1.1" 200 174 "https://fahrmich.freiesachen.de/index.php/booking_confirmation/of/9Qvp2wMKoPum" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:16 - 88.133.138.85 - - [17/Nov/2024:09:30:16 +0000] "GET /assets/js/utils/validation.min.js?ZV954 HTTP/1.1" 200 224 "https://fahrmich.freiesachen.de/index.php/booking_confirmation/of/9Qvp2wMKoPum" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:20 - - - - [17/Nov/2024:09:30:20 +0000] "GET / HTTP/1.1" 200 269505 "-" "Mozilla (CloudronHealth)"
          Nov 17 10:30:22 - 88.133.138.85 - - [17/Nov/2024:09:30:22 +0000] "GET /index.php HTTP/1.1" 200 269506 "https://fahrmich.freiesachen.de/index.php/booking_confirmation/of/9Qvp2wMKoPum" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:22 - 88.133.138.85 - - [17/Nov/2024:09:30:22 +0000] "GET /assets/js/layouts/booking_layout.min.js?ZV954 HTTP/1.1" 200 177 "https://fahrmich.freiesachen.de/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:22 - 88.133.138.85 - - [17/Nov/2024:09:30:22 +0000] "GET /index.php/booking/get_unavailable_dates?provider_id=2&service_id=1&selected_date=2024-11-17&csrf_token=9af9a75d66d8241a4828fa7c35e08686&manage_mode=0&appointment_id= HTTP/1.1" 200 209 "https://fahrmich.freiesachen.de/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:22 - 88.133.138.85 - - [17/Nov/2024:09:30:22 +0000] "POST /index.php/booking/get_available_hours HTTP/1.1" 200 185 "https://fahrmich.freiesachen.de/index.php" "Mozilla/5.0 (X11; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0"
          Nov 17 10:30:30 - - - - [17/Nov/2024:09:30:30 +0000] "GET / HTTP/1.1" 200 269507 "-" "Mozilla (CloudronHealth)"
          
          1 Reply Last reply
          0
          • N Offline
            N Offline
            NCKNE
            wrote on last edited by
            #5

            Most likely related to https://forum.cloudron.io/post/91353. Reported upstream: https://github.com/alextselegidis/easyappointments/issues/1587#issue-2465769537

            1 Reply Last reply
            1
            • M Offline
              M Offline
              mave
              wrote on last edited by
              #6

              Unfortunately, the configuration files (except config.php) are read-only. Otherwise, you could make some changes for testing purposes.

              1 Reply Last reply
              0
              • jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote last edited by
                #7

                Was this resolved @mave?

                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