Menu

email timeout

Help
Shimon
2014-11-12
2014-12-21
  • Shimon

    Shimon - 2014-11-12

    Hi again, :)
    I set up email using the sendEmail command, with these arguments:
    -f %f -t %t -u %s -m %b -a %l -s %v -xu myuserid -xp mypassword -o timeout=300

    I am still getting this response:
    command: sendEmail
    exit code: 0
    output: Process operation timed out

    I was going to set the timeout even larger, but then I actually timed
    a test, and discovered that I am still getting the timeout message
    after 10 seconds. Apparently this option is not doing what I expected
    it to do.

    I read about it here:
    https://sourceforge.net/p/luckybackup/discussion/873564/thread/e65e77b1/?limit=25&page=2#0b79
    Is there something I am still doing wrong?

    As always, thank you very much!
    Shimon

     
  • Loukas Avgeriou

    Loukas Avgeriou - 2014-11-12

    Hi Shimon :)

    do you use ssl too ?
    if yes, could you please also add ** -o tls=yes ** as an argument and double check that you have defined the correct port at the smtp server field

     
  • Shimon

    Shimon - 2014-11-14

    As far as I can tell there is no ssl involved. My ISP web page
    just says this:

    Hebrew text of server list

    It's in Hebrew, but the smtp line reads Outgoing mail server (requires authentication).
    No mention of ssl. And, occasionally, my email has actually been sent.
    So I think the other settings are correct, and I am just wondering why
    the larger timeout time seems to be ignored.

    Thank you again,
    Shimon

     
  • Loukas Avgeriou

    Loukas Avgeriou - 2014-11-21

    Please excuse my late reply Shimon.

    I did some testing and for a start confirmed that when trying to connect to bezeqint, no matter how big the timeout value is, sendemail stops waiting after 10sec.
    As you have already noticed:

    command:   sendemail
    exit code: 0
    output:    Process operation timed out
    

    If this value is less than 10, sendemail will exit before the 10 seconds
    eg:

    ERROR => Timeout while reading from out.bezeqint.net:25
    There was no response after 7 seconds.
    

    I tried to figure out why this is happening but with no luck.
    Unfortunately I cannot help more on this issue

     
  • Shimon

    Shimon - 2014-12-20

    And I was worse! I let a month go by without checking back...

    If I understand correctly, this is a bug in sendEmail,
    over which you have no control?

     
  • Loukas Avgeriou

    Loukas Avgeriou - 2014-12-21

    correct, this is sendEmail's behavior

     

Log in to post a comment.

MongoDB Logo MongoDB