
PEC Parser
Processing certified ECP emails, received
Certified email and ordinary mail.
Vitality
Quick links
Description
* * PEC/Mail parser * * Libreria utility for the processing of [certified electronic mail] messages (https://www.agid.gov.it/it/piattaforme/posta-elettronica-certificata) (PEC) and ordinary mail. * * project dependency * * Warning: versions prior to 5.0.0 were issued with groupId \ 'app.tozzi.mail \' _Maven_’<dependency>
<groupId>app.tozzi</groupId>
<artifactId>pec-parser</artifactId>
<version>5.1.0</version>
</dependency>‘_Gradle_' implementation (“app.tozzi.mail: pec-parser: 5.1.0”) '* * Requirements * * – v0.0.1 – v4.0.0: Java 8 – v5.0.0 – latest: Java 17 * * Use * * Application of MailParser across one of the following methods: — ‘MailParser.getInstancè – ‘MailParser.getInstance (Properties properties)’ – ‘MailParser.getInstance (Properties properties, boolean extractAllHeaders)’ – ‘MailParser.getInstance (boolean extractAllHeaders)’ parsing: By one of the following methods: — ‘ParsedEntity parse (MimeMessage mimeMessage)’ – ‘ParsedEntity parse (File eml)’ – ‘ParsedEntity parse (InputStream inputStream) 'ParsedEntity: It may be of the following types: — ‘ECP’: if the message represents a PEC – ‘PECReceipt’: if the message represents a PEC – ‘Mail’ receipt: if the message is a simple ordinary mail * * Other * * – The library supports the processing of ordinary mail by encoding [UUencode] (https://en.wikipedia.org/wiki/Uuencoding) * * Specifications * * – Technical rules of the electronic document transmission service by certified email: [PEC \ _rules \ _technical \ _dm \ _2-nov-2005.pdf] (https://www.agid.gov.it/sites/default/files/repository_files/leggi_decr…)
Features
- Processing certified ECP emails, received
Certified e-mail and ordinary mail