public class ReceiveMailHelper
extends java.lang.Object
This helper class is related to com.dumbster.smtp.SmtpMessage of dumbster-1.9.0.2-SNAPSHOT.jar.
Currently only PDF attachments are extracted. Further file formats can be implemented in the same way.
Constructor and Description |
---|
ReceiveMailHelper() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getAttachmentFromLastMail(java.lang.String filename) |
static ReceiveMailHelper |
getInstance(com.dumbster.smtp.SmtpServer server) |
public static ReceiveMailHelper getInstance(com.dumbster.smtp.SmtpServer server)
public byte[] getAttachmentFromLastMail(java.lang.String filename) throws AttachmentNameNotFoundException
AttachmentNameNotFoundException
Copyright (C) PDFUnit.com. See here for license.