Unsolved anyone ever used libcurl to send email to smtp server?how many milliseconds it need for sending mail one time?is it fast enough to send email by libcurl in mainThread? SmtpClient-for-Qt needs about 3000 milliseconds for sending email one time.
-
anyone ever used libcurl to send email to smtp server?how many milliseconds it need for sending mail one time?is it fast enough to send email by libcurl in mainThread?
i tried this one, it works. but it's slow, as it needs about 3000 milliseconds for sending email one time.
https://github.com/bluetiger9/SmtpClient-for-Qt -
@opengpu Please don't write so long titles!
-
If you use any synchronous method that involves connecting to the web it will be too slow for the main thread. No matter what library you use
-
Hi,
To add to @VRonin, you can't rely on such timing. There are lots of possible delaying points that exist. Your device can be overloaded, your network can be congested, the mail server loads, the mail server connection etc.
You can't just expect to send fast email unless you completely control the whole system and even then.