You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Email functionality was not working. Discovered the following pull request was completed a while back but the value that was set '4' does not provide enough lines of delay for my SMTP relay to work correctly (subject includes error). I changed the senddelay from '4' to '5' or higher and now email log is successfully sent.
I've improved this by counting the number of lines in the EMAIL_LOG_HEADER and using it's value as the number of lines to add to the sendDelay function.
sendDelay() {
#count number of lines in EMAIL_LOG_HEADER to apply the delay from EMAIL_DELAY_INTERVAL from NC (netcat)
EMAIL_LINES_TO_DELAY=$(cat "${EMAIL_LOG_HEADER}" | wc -l)
Email functionality was not working. Discovered the following pull request was completed a while back but the value that was set '4' does not provide enough lines of delay for my SMTP relay to work correctly (subject includes error). I changed the senddelay from '4' to '5' or higher and now email log is successfully sent.
#75
The text was updated successfully, but these errors were encountered: