Hi all,
Can anyone please point me to some examples which create and run an SMTP server via loop.create_server() ? Also, straightforward learnable examples which create multiple servers of different types within the one event loop?
I need to have the one event loop running several servers and clients in the one process, where these servers and clients which are passing data between each other, so the Controller approach in aiosmtpd is not suitable.
I'm a long time Python programmer, but am very new to asyncio and its complex idioms. It's feeling like with asyncio I'm having to learn Python all over again.
Here's my attempt so far (attached). I can connect, but the server kills the connection straight away
All help appreciated.
Cheers
David