• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    "Send email" questions

    General Discussion
    2
    5
    1.9k
    Loading More Posts
    • 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.
    • B
      benya
      last edited by

      • If rule executes series of operations, they are execute sequentially or in parallel?
      • if one operation in the series is "Send email", is it executed asynchronously (and network and SMTP server don't affect timing of other operations in the series)?
      • or "Send email" gets executed synchronously (e.g. controller delays execution of other operations in the series until Send Email succeeded)?
      • if "Send Email" failed (for example, because of bad Internet connection), does controller retries to send email later? What's the retry interval? Does it retry indefinitely?
      • Is it advisable to run local SMTP server to minimize impact on rule execution?
      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ
        jkandasa @benya
        last edited by

        @benya said:

        If rule executes series of operations, they are execute sequentially or in parallel?

        sequentially

        if one operation in the series is "Send email", is it executed asynchronously (and network and SMTP server don't affect timing of other operations in the series)?
        or "Send email" gets executed synchronously (e.g. controller delays execution of other operations in the series until Send Email succeeded)?

        works synchronously.

        if "Send Email" failed (for example, because of bad Internet connection), does controller retries to send email later? What's the retry interval? Does it retry indefinitely?

        There is no retry. If fails dropped that email.

        Is it advisable to run local SMTP server to minimize impact on rule execution?

        For now Yes, we have a ticket to support failed email. This implementation will be running asynchronously. https://github.com/mycontroller-org/mycontroller/issues/348

        1 Reply Last reply Reply Quote 0
        • B
          benya
          last edited by

          I guess local postfix server would address both issues (performance and email delivery reliability).

          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ
            jkandasa @benya
            last edited by

            @benya said:

            I guess local postfix server would address both issues (performance and email delivery reliability).

            Did you check with local email server setup?

            B 1 Reply Last reply Reply Quote 0
            • B
              benya @jkandasa
              last edited by

              @jkandasa Yes, followed https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/ and got it working in short time.

              1 Reply Last reply Reply Quote 1
              • First post
                Last post

              1

              Online

              652

              Users

              522

              Topics

              3.4k

              Posts
              Copyright © 2015-2023 MyController.org | Contributors | Localization