Problem: To extract e-mail address of the incoming mail. Analysis: 1. The e-mail address are stored in .mbox format in macOS. The .mbox for Mac is essentially an archive (can be opened and what is useful in this exercise is the file called filename .mbox). It is a .txt file. 2. Email have standard header info which contains the sender information. e.g. an e-mail header would look something like this: (information masked for privacy) From sender@example.com Fri Dec 16 00:11:30 2016 Delivered-To: recipient@domain.com Received: by IP address with SMTP id hm4csp533342wjb; Fri, 16 Dec 2016 00:11:30 -0800 (PST) X-Received: by 10.157.51.53 with SMTP id f50mr1243482otc.34.1481875890678; Fri, 16 Dec 2016 00:11:30 -0800 (PST) Return-Path: Received: from gateway21.websitewelcome.com (gateway21.websitewelcome.com. [IP address]) by mx.google.com with ESMTPS id r12...
About hardware / software / mobile experience. Hope to save somebody's time one day. This site is ad-free. No nag screen on ad-blocker :-) Please leave a comment if you find the posts useful - or post a comment for update and new info.