• Dev
  • Blomstra Email Conversations: post via email to your Flarum forum

majkimajki you need to install @beta and not * as a version constrain - as stated in the initial post.

    GreXXL

    OK, thanks.

    But I'm getting:

    Your requirements could not be resolved to an installable set of packages.

    Problem 1
    - Root composer.json requires blomstra/email-conversations @beta -> satisfiable by blomstra/email-conversations[0.1.0-beta.1, 0.1.0-beta.2, 0.1.0-beta.3, 0.1.0-beta.4].
    - blomstra/email-conversations[0.1.0-beta.1, ..., 0.1.0-beta.4] require php 8.0 -> your php version (7.3.33) does not satisfy that requirement.

    Installation failed, reverting ./composer.json and ./composer.lock to their original content.

    [hempinve@s47 tajemnicenatury]$ php --version
    PHP 8.1.8 (cli) (built: Jul 14 2022 10:33:21) (NTS)

    Which is quite weird to be honest, as I'm using 8., and flarum dashboard also confirms the php version.

    Any ideas?

      majkimajki guess that you are using a different version for cli then you are using for the actual hosting. You would need to check your hosting settings.

        GreXXL

        Still no luck, any ideas?

        Your requirements could not be resolved to an installable set of packages.

        Problem 1
        - Root composer.json requires blomstra/email-conversations @beta -> satisfiable by blomstra/email-conversations[0.1.0-beta.1, 0.1.0-beta.2, 0.1.0-beta.3, 0.1.0-beta.4].
        - blomstra/email-conversations[0.1.0-beta.1, ..., 0.1.0-beta.4] require blomstra/conversations @beta -> found blomstra/conversations[dev-master, 0.1.0-beta.1, 0.1.0-beta.2] but it does not match your minimum-stability.

        Installation failed, reverting ./composer.json and ./composer.lock to their original content.

          composer config minimum-stability beta
          composer config prefer-stable true
          composer require blomstra/email-conversations:"*@beta"

          That should allow beta's to be installed while still forcing stable packages for everything else.

          Hi,

          I've managed to work everything out, but I cannot find anything in the logs.

          After sending an email to the verified address no new disscusion is made.

          Any tips?

          • IanM replied to this.

            majkimajki do you see the configured incoming route in the mail section of the admin panel, or is it prompting to set one up? {FORUM_URL}/admin#/mail

              IanM

              Hi, mailgun gives me: "event": "stored" in the emails it receives.

              As for your questions I clicked the button to generate, now I have:

              Incoming Mailgun route
              6........................d - Blomstra Email Conversations incoming route

              • IanM replied to this.

                majkimajki excellent, try sending a mail to the forum now that the route is fully setup - do you see a new discussion now?

                  IanM

                  No. No new disscusions appear.

                  I've used; Additional email addresses, and verified this address, and also tried sending from a different one.

                  • IanM replied to this.

                    majkimajki Additional email addresses is not something that has been tested with this feature just yet, so I'm not sure if that will function correctly or not.

                    The outgoing email address as configured already in Flarum is used to setup the incoming route when the Generate button is clicked. Can you try sending a mail to that address to see if that works for you?

                      IanM You are right.

                      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                      <html><head>
                      <title>401 Unauthorized</title>
                      </head><body>
                      <h1>Unauthorized</h1>
                      <p>This server could not verify that you
                      are authorized to access the document
                      requested. Either you supplied the wrong
                      credentials (e.g., bad password), or your
                      browser doesn't understand how to supply
                      the credentials required.</p>
                      <p>Additionally, a 401 Unauthorized
                      error was encountered while trying to use an ErrorDocument to handle the request.</p>
                      </body></html>

                      IanM

                      OK the problem was a passwd for the whole website.

                      Now I can reply to a disscusion via mail.

                      But still can't make a new discusion when sending an email.

                      • IanM replied to this.

                        majkimajki yes I understand that.

                        The entry in mailgun should be similar to this:

                        match_recipient("email@test.com") Priority: 0
                        
                        store(notify="https://my.forum.com/api/email/receive")

                        The notifiy is critical...