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

ctml Slack is currently being worked on already for the same client. If I'm not mistaken they favor open sourcing that too! They, however, prefer it to be build against the new beta API, you get request access here: https://slack.com/platform-beta

As for alternative mail adapters; they'd need to be able to receive email. A raw IMAP option might be possible but would either be commissioned or contributed. We gladly assist with either of those.

    luceos A raw IMAP option might be possible but would either be commissioned or contributed.

    How many working hours it may take?

    I think users can start a discussion using WhatsApp, we can relay on API providers like twillo or kaleyra
    A user sends a "hi" message to a WhatsApp number > selects options > starts a discussion... this will be an expensive API call for every API request WhatsApp charges around 0.013x4

    the possibilities are endless, we can also integrate this extension with IFTTT
    using the android app of IFTTT we can create something like if someone sends us an SMS we can start a discussion
    if someone tweets something we can start a discussion

    2 months later

    Any ideas?

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

    Using php 8.1.

      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>