Email Basic CMS

NOTE: Project already awarded to RMASH (no bids necessary)

I want users to be able to update their own websites without having to do anything other than send an email. I will set up a POP3 email account. This account will be entirely for website updates.

The script I need written will be set up on the server to run automatically once per hour (or day or whatever) via a CRON job. It should be written in PHP. I want the script to access the mailbox (username/password and POP server info hard-coded into the script as variables at the top) and parse any unread emails (and then delete them once complete).

Here are details on the email format:


> SUBJECT: 4285 News

> BODY: (may be plain text, rich text, or HTML format) <h2>Breaking News</h2> <p>This is some news information...</p>

I will now explain the above. First of all, the $from_email value should be captured (in this case this is ). Next all characters before the first space in the subject line should be captured as $project_id (in this case 4285). There will be a list where Project Ids are compared to valid email addresses (eventually this will get pulled from a database, but for now it can be hard coded into the top of the script). If the address is allowed to send email for the project number referenced, then we continue. The remainder of the subject line (in this case "news") determines the page that will be updated. This will NOT be case sensitive. The value of this variable should be saved as $page_id. The entire body of the message should be converted into a "blob" string that can be inserted into a database (saved as $page_content). All tags should be escaped to properly save in the database, and should echo/print out in PHP (when called later) an exact copy of the original body text/html. If the message format is in HTML, the <head> tags and any background image/color should be stripped so that it can be inserted into the body of a page dynamically later on.

All code should be cleaned up as much as possible to remove unnecessary formatting and CSS tags so that the final code is clean and can be displayed without conflict.

Once you have the following variables populated ($project_id, $page_id, $page_content, $authorized=="1"), I can take that data and send the insert statement to MySQL. I will have it UPDATE the content in the database WHERE ProjectId=?? And PageId=?? with the new page content.

Then when someone visits the website, the page content will be retrieved from the DB and printed into the main body are of the website.

NOTE: Project already awarded to RMASH (no bids necessary)

Beceriler: Veri İşleme, PHP

Daha fazlasını gör: email basic, up string, top website visits, top coded, string processing in c, rich text message, php send email script, not valid email address, not awarded, not a valid email address, job in cms, formatting websites, first day at a new job, email is not valid, email address not valid, email address is not valid, continue line in c, breaking news script, basic website html code, 1 hour email address

İşveren Hakkında:
( 41 değerlendirme ) Houston, United States

Proje NO: #129702



Please see pm.

%selectedBids___i_period_sub_7% gün içinde 75%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(149 Değerlendirme)

Bu iş için 3 freelancer ortalamada $73 teklif veriyor


we can do it

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(109 Değerlendirme)

we are PHP/MySQL based Graphics & web development company provide SEO, Content, Design, Help files, Flash demos and full testing all under single platform with a highly qualified and creative designers & developers Daha Fazla

in %bids___i_period_sub_35% gün içinde45%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(10 Değerlendirme)