Page 1 of 1
Get E-Mails as .eml?
Posted: Thu Apr 22, 2021 7:42 am
Is it possible to write a Script to connect to a pop3 and get new mails and save it as ".eml"?
Re: Get E-Mails as .eml?
Posted: Fri Apr 23, 2021 2:59 pm
I see 2 possibilities. You define a rule on the mail client to save incoming messages as .eml files, but this will require that you have the mail client open on the Switch server at all times. Alternatively you may have to script something in the mail client.
Or you take what you get from Switch and put everything in an eml using https://www.npmjs.com/package/eml-format