• Resolved robthirlby

    (@robthirlby)


    I set up a loop to send 69 messages to different email addresses. After 10 one failed with error Could not create lockfile /tmp/.postman.lock. and nothing else was sent. loop continued to do other things.

    Should I slow down the frequency of calling postman in such circumstances?

    https://wordpress.org/plugins/postman-smtp/

Viewing 1 replies (of 1 total)
  • Plugin Author Jason Hendriks

    (@jasonhendriks)

    You can send emails in a loop, as long as you don’t send them in separate threads. Because of the way OAuth refresh works, each email that is sent must create and hold the lock file until it is finished sending. If two threads try to send at the same time, the second thread will wait up to ten seconds before giving up, declaring that it could not create the lock file.

Viewing 1 replies (of 1 total)
  • The topic ‘postman error Could not create lockfile /tmp/.postman.lock’ is closed to new replies.