"Send email" questions
-
- 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?
-
@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
-
I guess local postfix server would address both issues (performance and email delivery reliability).
-
@benya said:
I guess local postfix server would address both issues (performance and email delivery reliability).
Did you check with local email server setup?
-
@jkandasa Yes, followed https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/ and got it working in short time.