Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

I use the word Communications because the email container may not have a body of text but a file that needs to be extracted and acted on as the real communications. 

Incomming communications:

overview: allow the java mail to access may email accounts for downloading. Both IMAP and POP3. use the UDI to delete emails from Server for POP3. 

Incoming communications:

overview: to get maile 

1) handle emails that are returned not valid address 

2) handle delivery notifications.

3)
X) add parser templates for data type of emails. this will allow customer templates for fixed format emails like the UPS tracking email. (should be in the communications event. to lazy to move right now)

OutGoing communications

overview. for now we will assume we are sending to a mail server and it will handle communications to the recipients. So the non deliver and Fatal codes are referenced to the mail servers ofbiz sends to.
for more sophisticated systems will be the outgoing mail server and handle the non deliever and fatal errors directlly. most consider threads that are used for this as potentially fatal in they may hang the whole system.

1) add DSN for deliver notifications 

2) add to sendmail the non delivery. and retry for non 550 codes

3) send fatal codes bak thru the incoming routines. OutGoing communications