Reading e-mails to register many registers

Registered by Marcelo Bonatto

If people cannot register your transactions or accounts via internet by proxy block or if you need register no enter in site (for example, email via mobile phone).

Blueprint information

Status:
Started
Approver:
None
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
Accepted for 2.0
Implementation:
Started
Milestone target:
milestone icon 2.0.0
Started by
Marcelo Bonatto

Related branches

Sprints

Whiteboard

For this funcionality will necessary a server with cron tabs and e-mail account. It's a PHP executable program that will execute times in times. If the program verify what exists an e-mail in inbox, it will verify if is a valid e-mail. A valid e-mail have this features:

     * E-mail was registered in user register;
     * Subject must be Transaction;
     * Message should be formatted like this:
             - Account nickname. If it's a transfer, put an > signal and account nickname. For example: MONY > CHCK;
             - | (pipe);
             - Date;
             - | (pipe);
             - Transaction description;
             - | (pipe);
             - Value. If spend, value is negative.

After verification, program saves e-mail in a file and create an register in emails table of application database to build a queue. After this, other program will read this queue and will try save this e-mail. If saves successfully then program will send a confirmation e-mail to talk what e-mail was processed.

This process will have a third program. It will verify list and will delete register and file. If find an register not processed after 4 hours, it will try process. If get, then delete. If not, delete too, but will warn user that your e-mail not processed.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.