Sending e-mails from rust (tokio)

Hi everybody
I'm looking for a library for sending e-mails. I need to connect to a postfix and sendemail from it,

Using sendmain command is an option. I would like to keep it async since I'm already using tokio in the same app, otherwise I will start a new thread and put blocking code into it

I found these:

https://docs.rs/new-tokio-smtp/0.8.1/new_tokio_smtp/
https://docs.rs/lettre/0.9.2/lettre/

new_tokio_snmp seems stale to me!? no updates in two years, and lettre is not really async. What you guys recommend!?

Regards,

1 Like

Well,

I'm using lettre + spawn_blocking