开发者

Several threads connecting to a Postfix server?

开发者 https://www.devze.com 2023-02-04 10:33 出处:网络
I\'m writing a program which is sen开发者_运维技巧ding files through SMTP, thanks to my (local) Postfix server, on port 25.

I'm writing a program which is sen开发者_运维技巧ding files through SMTP, thanks to my (local) Postfix server, on port 25.

Is it possible to use several threads (thus several sockets) to inject emails faster ?


Depends entirely on where the bottleneck is. If it's on the SMTP server or the network, the answer is no. If it's in your python code, probably yes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号