Grab/save IMAP email attachments in PHP
$30-250 USD
Paid on delivery
The desired budget for this project is $50. There's open source code that does what we need so it should be a quick project if you know what you're doing. :) Bids at the high end of the range will be disregarded.
Attached is a php snippet that we're using to parse IMAP emails and save the header/subject/message to a table.
This assignment is to add code that will identify the presence of attachments, isolate the attachment's file name and data, and save it to the server.
All you have to do is add code that will do the following:
1. Search the $structure object for attachments
2. Check mime type and only allow the following: jpeg, gif, png, pdf, txt
3. For each attachment, create a variable that will contain the path and filename for saving the attachment. (We will provide the path and filename protocol later, you can simply insert a placeholder.)
4. Write the attachment to the server using the path/filename variable.
You don't have to worry about anything else.
Important note!! You will not be able to test this on our server, so you can do one of the following: (1) test it using your server and email account, or (2) deliver the code untested and we will do it here, working with you to debug.
Project ID: #15067843
About the project
Awarded to:
yes we can do it. Relevant Skills and Experience php Proposed Milestones $50 USD - as we discuss
9 freelancers are bidding on average $94 for this job
Hi, I’m Manjeet. To check my strength, kindky visit my freelancer account and check my ratings. I'm assuring you for the most SEO friendly website and most Responsive Design. Relevant Skills and Experience WordPress, More
Hi, I have good experience in web development. Message me so we can discuss further regarding the project requirements. See you soon in chat. Thanks
Hello project owner, I am ready to give you best quality work. ***Available to provide you the work on the given time frame. I have good experience in it. Looking for your response. Thanks!! Relevant Skills and Expe More