VaporSMTPKit icon indicating copy to clipboard operation
VaporSMTPKit copied to clipboard

async/await

Open vamsii777 opened this issue 11 months ago • 0 comments

This pull request refactors the SMTP mailing functions to utilize async/await for improved concurrency and error handling. The changes include updating the sendMails and sendMail functions to be asynchronous and to use try await for handling potential errors.

Additionally, the sendMail function now internally utilizes the sendMails function with a single mail, providing a more consistent API. These updates enhance the efficiency and reliability of the mailing functionality.

vamsii777 avatar Mar 19 '24 08:03 vamsii777