Find Jobs
Hire Freelancers

POP/IMAP to MySQL in PHP

$30-100 USD

Status
Publicerad över 18 år sedan

$30-100 USD

Betalning vid leverans
We need a php script that will login to a POP3 account and take the following actions for each message in the account: 1) Download the message; 2) Insert each message in a MySQL table (defined further below); 3) decode each attachment and write them to a predefined directory, insert data about the file into a table for attachments, and rename the file to the entry's mysql_insert_id(); 4) delete the message from the inbox. In the event an email contains no attachments, it need not have an entry in the attachments table. In the event an email contains an HTML and Text version, the text version shall be written to the [login to view URL] field. The HTML version may be discarded or written to the attachment table at your discretion. The application will access the POP3 account locally or through a pre-established VPN. You do not need to provide SSL support. Authentication will be via password. The tables needed are as follows: Table name: emails Fields: id int primary key auto_increment, from varchar # just the address: user 'at' [login to view URL] to varchar h subject varchar datetime datetime # of message loadtime datetime # System time of insertion headers blob # All headers, including those above body blob Table name: attachments Fields: id int primary key auto_increment, email_id int # relates to [login to view URL] name varchar # the original name of the file --------------------------- A couple of recurring questions about our project: 1) Yes, we have PHP compiled with --with-imap . We are currently running SquirrelMail and it functions fine. 2) The application outputs nothing to the user. There is no user interface. The cron daemon will call it via cURL and Apache. 3) The project is for PHP only. We cannot accept Perl, C, etc. 4) 3rd party code can be used as long as the license for it permits our commercial and free distribution. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Code must be commented and documented in English. 2) Unlimited, universal, non-exclusive copyrights/patent-rights. Coder may create derivitive works. Client intends to release code under an open source license such as Creative Commons, BSD, GNU, etc., to be determined at a later date. PEAR's license is unclear. By default, US Copyright prohibits our reuse of their code without license. For that reason, we cannot use PEAR. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. * * *This broadcast message was sent to all bidders on Thursday Sep 1, 2005 3:52:54 PM: A couple of recurring questions about our project: 1) Yes, we have PHP compiled with --with-imap . On the same server, we are currently running SquirrelMail and it functions fine. 2) On PEAR - we are hesitant to accept work with PEAR because their license is unclear. We intend both to sell the code to our client and also release it on a very-free open source license, probably BSD. In the absence of a license allowing us to do that, U.S. Copyright law prevails and would indicate that we are not allowed to make non-fair-use of it. 3) The application outputs nothing to the user. It will be called by a cron daemon through Apache using cURL. There is no user interface. 4) We are interested in the application being written in PHP, not Perl, C, or any other language. For security reasons, we have to understand what the code says and does before loading it on production servers and our auditor requires PHP. 5) 3rd party code can be used as long as the license for it permits our commercial and free distribution. ## Platform PHP 4.3.x and MySQL 3.4.x (yes, we are using newer versions, but need to maintain backward compatibility. Don't do any subqueries and you'll be fine )
Project ID: 3876620

Om projektet

16 anbud
Distansprojekt
Senaste aktivitet 19 år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
See private message.
$63,75 USD Om 15 dagar
4,7 (3 omdömen)
1,9
1,9
16 frilansar lägger i genomsnitt anbud på $157 USD för detta uppdrag
Använd avatar
See private message.
$63,75 USD Om 15 dagar
4,9 (572 omdömen)
7,4
7,4
Använd avatar
See private message.
$85 USD Om 15 dagar
5,0 (137 omdömen)
5,6
5,6
Använd avatar
See private message.
$42,50 USD Om 15 dagar
4,9 (28 omdömen)
5,3
5,3
Använd avatar
See private message.
$323 USD Om 15 dagar
5,0 (2 omdömen)
4,9
4,9
Använd avatar
See private message.
$42,50 USD Om 15 dagar
5,0 (38 omdömen)
4,7
4,7
Använd avatar
See private message.
$85 USD Om 15 dagar
4,9 (38 omdömen)
4,7
4,7
Använd avatar
See private message.
$51 USD Om 15 dagar
5,0 (39 omdömen)
4,5
4,5
Använd avatar
See private message.
$85 USD Om 15 dagar
5,0 (29 omdömen)
4,1
4,1
Använd avatar
See private message.
$79,90 USD Om 15 dagar
3,4 (5 omdömen)
4,2
4,2
Använd avatar
See private message.
$84,15 USD Om 15 dagar
5,0 (17 omdömen)
3,7
3,7
Använd avatar
See private message.
$17 USD Om 15 dagar
4,4 (2 omdömen)
2,8
2,8
Använd avatar
See private message.
$68 USD Om 15 dagar
3,5 (1 omdöme)
1,9
1,9
Använd avatar
See private message.
$59,50 USD Om 15 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
See private message.
$127,50 USD Om 15 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
See private message.
$42,50 USD Om 15 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
See private message.
$1 275 USD Om 15 dagar
0,0 (0 omdömen)
0,2
0,2

Om kunden

Flagga för UNITED STATES
Alpharetta, United States
5,0
13
Verifierad betalningsmetod
Medlem sedan okt. 27, 2004

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.