Diff
Logged in as anonymous

Differences From Artifact [150a105673]:

To Artifact [85cf40bbe7]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Simple SMTP-to-Telegram gateway. Can parse email and send them as telegram
//! messages to specified chats, generally you specify which email address is
//! available in configuration, everything else is sent to default address.

use async_compat::Compat;
use stacked_errors:: Result;

// main function stub that executes main code from lib
fn main () -> Result<()> {
	smol::block_on(Compat::new(async {
		smtp2tg::async_main().await.unwrap()
	}));

	Ok(())
}










|
|
<
<

1
2
3
4
5
6
7
8
9
10
11
12


13
//! Simple SMTP-to-Telegram gateway. Can parse email and send them as telegram
//! messages to specified chats, generally you specify which email address is
//! available in configuration, everything else is sent to default address.

use async_compat::Compat;
use stacked_errors:: Result;

// main function stub that executes main code from lib
fn main () -> Result<()> {
	smol::block_on(Compat::new(async {
		smtp2tg::async_main().await
	}))


}