MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.58k stars 623 forks source link

Concurrency - overall ability to send multiple mails in a faster pace. #1986

Open canakyildz opened 11 months ago

canakyildz commented 11 months ago

As I'm using the server with a lot of satisfaction and appreciation overall, I'm happy to get assistance with making concurrent sending requests.

Let's say that I have 100 items in an array and I need to send email to each one of them with SMTP.

Currently the case with DispatchGroup or concurrent DispatchQueue doesn't help the case, I see emails being sent right after one is sent. So it takes a lot of my time.

What can I do about this?