How to read IMAP/POP and save as .EML
Hello Bruno,
I think I can do this part already, save the HTML part, along with the attachments.
But I want to save the whole email as a single file, just as you would if you dragged a message from your InBox on to the desktop. MacMail saves it as a .EML file, which you can double click on, and view again in MacMail, and it doesn’t add it back into your storage, just acts as a viewer. I would think OutLook does the same, but not 100% sure of that.
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis@lineal.co.uk<mailto:mike.matthews@lineal.co.uk>
www.lineal.co.uk<www.lineal.co.uk/>
www.sqlworks.co.uk<www.sqlworks.co/>
On 3 Mar 2021, at 16:58, Bruno Del Sol <bruno.delsol@bydesign.fr<mailto:bruno.delsol@bydesign.fr>> wrote:
Hi,
I have some code that would read an IMAP INBOX and download the messages it contains as UTF8 html files with attachments on the side.
Regards
Bruno
By Design
linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.bydesign.fr&c=E,1,UDJNWXX6JPKmbCuMS0DqSt33BpMMZaBQJAPn0JN9TT9VsphSDSfn-F8LQt-x_zaX41MBUX0j9UI7Hheg2yzqTPZwj1X3Mun7GvR1jDaihp-P&typo=1
Bruno Del Sol
bruno.delsol@bydesign.fr
46, rue de La Tour d’Auvergne
75009 Paris (France)
Le 03/03/2021 à 17:34, Mike Matthews – Omnis a écrit :
Hello All,
Has anyone read a mailbox using IMAP or POP, and then saved one of the emails as a file, with the type .EML?
I’m not looking for MBOX either.
Thanks
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis@lineal.co.uk<mailto:mike.matthews@lineal.co.uk>
linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.lineal.co.uk&c=E,1,YdaaKYQgQhxdGFsbP1iIsrAVoUc-LeLVI08tno4k3XUnYdcfENYckgHoDY7Aj83YEOj5PiJukCrWnzoLi0hhUWaTPHyD4V625Tf9-o8H2vAbfrjCSX4L6MecudAe&typo=1<linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.lineal.co.uk%2f&c=E,1,H9B2zNmXQX7dIGHpK0IZxR0ExF3TJyEwIK-Z-8wnUjs19VzJvZRpe3XvnZMgL2knLXQFaGb65OfaqELXEpDn7R2Rs1j2NEy9LyeHcqsyd460oMMUgg,,&typo=1>
linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.sqlworks.co.uk&c=E,1,aFx_TWbWfirGc2HvnC2vEmYrZtLBj9q0bJltjL-8yYtQVvmSqU3jXdxDgW1IM70J_VacMYDo13uRxQI1CQmo6xJ7V66BEKBG5Avl-5kW&typo=1<linkprotect.cudasvc.com/url?a=http%3a%2f%2fwww.sqlworks.co%2f&c=E,1,rpQJt65U7lDEWN1xQZJjxtMsTlHCl3xapY1_ty80_-1tNou41nN16nioBrghIc4HARcdPg_q38WipXhljDguYsO6o6XohPpVxkAwBH5VUTtULZMoyU_xs7LNsw,,&typo=1>
_____________________________________________________________
Manage your list subscriptions at linkprotect.cudasvc.com/url?a=http%3a%2f%2flists.omnis-dev.com&c=E,1,nY0iMCtr-9hTXxzUBKnn4_WR_gEmrsscJNiRTSOT0kLKJ4kNXXFck1qVx92opmfcWaWDmNqJmZ0DTiDUTEF6GeAK-p0pVWhwe7JSgZwMMBd_da8rV4TorVc,&typo=1
Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com