You can usually pipe an incoming mail message to an executable programs (this is anyway done by the MTA) in your case the executable can simply be a php script that makes use of a suitable mime decoder (you will find several in hotscripts,sourceforge,php classes etc) which decodes the mail messages and inserts the subject line into a database or any other storage mechanism.
[EMAIL PROTECTED] wrote:
Hello. I'm a new PHP user and unfamiliar with the terminology, so if I sound like I don't know what I'm talking about, I don't. :)
I do a website for a club I belong to and would like to post the Subjects of new emails to our Announcements email list on the website. Instead of manually adding the subjects to the website, I thought there might be a way to automate it. If anyone could point me to a script that can check an email list for new messages and then include part of that message into a website, I would really appreciate it.
Jean Peterson
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php