|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kom.gateway.GetMail.MessageDelivery
Methods for delivering a message to one or more recipients in the database
Field Summary | |
javax.mail.internet.MimeMessage |
currentMessage
Current message in parsed format |
(package private) boolean |
duplicate
True if message was determined to exist already (a duplicate) |
java.lang.String |
errorMessage
Delivery error message |
java.io.File |
headerFile
Current message header file in spool |
java.lang.String |
headerFileName
Path of message header file in spool |
java.io.File |
mailFile
Current mail text file |
java.lang.String |
mailFilePath
Current mail spool file path |
java.lang.String |
mailFrom
MAIL FROM value from SMTP header |
java.io.File |
mailSpoolFile
Current mail spool file |
java.util.Vector |
mailTo
RCPT TO values from SMTP header |
java.lang.String |
mailURL
Current mail file url |
int |
numberOfRecipients
Number of local recipients |
java.util.Vector |
recipients
RCPT TO values from SMTP header corresponding to local recipients |
Constructor Summary | |
GetMail.MessageDelivery(java.lang.String fn)
Constructor |
Method Summary | |
void |
error(java.lang.String msg)
|
void |
existingMessage(java.lang.String rId)
Removes spool file for existing message |
int |
getRecipients()
Finds local recipients from envelope data |
java.io.File |
getSpool()
Defines mailSpoolFile |
boolean |
moveSpool(java.lang.String rId)
Moves message text from spool area to mail directory |
void |
removeSpool()
Removes header file from spool area |
void |
saveHdr()
Copies (renames) header data to mail message directory |
void |
setup(java.io.FileInputStream f)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
public java.lang.String mailFilePath
public java.lang.String mailFrom
public java.io.File mailSpoolFile
public java.io.File mailFile
public java.lang.String headerFileName
public java.io.File headerFile
public java.lang.String mailURL
public java.util.Vector mailTo
public java.util.Vector recipients
public int numberOfRecipients
public javax.mail.internet.MimeMessage currentMessage
public java.lang.String errorMessage
boolean duplicate
Constructor Detail |
public GetMail.MessageDelivery(java.lang.String fn)
fn
- Name of file containing envelope header dataMethod Detail |
public void existingMessage(java.lang.String rId)
rId
- Id of existing messagepublic java.io.File getSpool()
public void saveHdr()
public boolean moveSpool(java.lang.String rId)
rId
- Message id in CDB: "/mail/NNN/"public void removeSpool()
public int getRecipients()
recipients
, number also placed in numberOfRecipients.public void error(java.lang.String msg)
public void setup(java.io.FileInputStream f)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |