Sending emails fails

Sending emails always fails at first. Sometimes it fails twice. Sometimes many times.
In every case it eventually succeeds.

No such problems with other email clients.
I’m using fastmail account.

Any ideas?