PHP Laravel module to process email attachment
Budget: $30 – $250 USD
The following functionality is needed:
1. Write a PHP Laravel function that takes a PDF, uploads it to the server (uploads/attachments folder), and adds a record to the DB.
2. A module which extracts attachments incoming emails, and uses the above function to upload to server & DB.
2.a For each attachment (can be multiple per email) - a record is added to the DB:attachments table, with the timestamp, filename, location (folder on server), email data (from, to, title)
2.b In case of failure (no attachment, error in uploading to server, error in saving to DB etc.) - a record must be added to the DB:failure table, with timestamp, email data (from, to, title) & failure description, and (in case of email processing) the email is forwarded to ADMIN_EMAIL.
3. Email is sent to ADMIN_EMAIL with summary of 2.a or 2.b
Must be able to set up email to forward to application endpoint, or read incoming email via POP or IMAP / whatever works.
Freelancer is expected to create code in it's own branch.
If needed, will need to install it on the linux server.
Important:
Must have proven experience with:
- Laravel
- Mail development
- Git branches & merging (github)
- Linux (ubuntu)
1. Write a PHP Laravel function that takes a PDF, uploads it to the server (uploads/attachments folder), and adds a record to the DB.
2. A module which extracts attachments incoming emails, and uses the above function to upload to server & DB.
2.a For each attachment (can be multiple per email) - a record is added to the DB:attachments table, with the timestamp, filename, location (folder on server), email data (from, to, title)
2.b In case of failure (no attachment, error in uploading to server, error in saving to DB etc.) - a record must be added to the DB:failure table, with timestamp, email data (from, to, title) & failure description, and (in case of email processing) the email is forwarded to ADMIN_EMAIL.
3. Email is sent to ADMIN_EMAIL with summary of 2.a or 2.b
Must be able to set up email to forward to application endpoint, or read incoming email via POP or IMAP / whatever works.
Freelancer is expected to create code in it's own branch.
If needed, will need to install it on the linux server.
Important:
Must have proven experience with:
- Laravel
- Mail development
- Git branches & merging (github)
- Linux (ubuntu)