512369f93e 2026-08-01 1: //! SMTP-to-Telegram gateway main library.
512369f93e 2026-08-01 2: //!
ac6ac8c108 2026-09-25 3: //! This lib provides the core functionality for receiving emails via SMTP
512369f93e 2026-08-01 4: //! and forwarding them to Telegram chats.
512369f93e 2026-08-01 5: //!
512369f93e 2026-08-01 6: //! As we are not actually exporting this lib there would be no local Error's
512369f93e 2026-08-01 7: //! for now, everything will be just .stack()?'ed and propagated like in real
ac6ac8c108 2026-09-25 8: //! bin. The lib here is just to separate all tests from main code into tests/
512369f93e 2026-08-01 9:
713c1e7fb2 2026-07-31 10: pub mod mail;
3c858ed7c4 2026-07-31 11: mod telegram;
3c858ed7c4 2026-07-31 12: pub mod utils;
3c858ed7c4 2026-07-31 13:
ac6ac8c108 2026-09-25 14: use std::io::Cursor;