title: How to receive an email on server? Better using Python or Perl
body: <p>I've checked so many articles, but can't find one for server to server email receiving. I want to write a program or some code just acts as an email receiver, not SMTP server or something else.</p>
  
  <p>Let's suppose I have a domain named example.com, and a gmail user user@gmail.com sends me an email to admin@example.com, or a yahoo user user@yahoo.com sends me an email to test@example.com. Now, what do I do to receive this email? I prefer to write this code in Python or Perl.</p>
  
  <p>Regards,
  David</p>