You are here: Re: Script that receives email message and responds depending on content « PHP Programming Language « IT news, forums, messages
Re: Script that receives email message and responds depending on content

Posted by Rik Wasmus on 01/02/08 23:09

On Wed, 02 Jan 2008 23:07:28 +0100, Jeremy <jeremy@pinacol.com> wrote:

> Bill Bell wrote:
>> The subject line is a little too general. I would like you to tell me
>> about scripts that can receive email messages and call other scripts
>> depending on the content of these messages.
>> Thanks!
>
> I have implemented such a thing as a daemon that periodically parses a
> mailbox on the local server and does various things with the content of
> the messages (processing meta tags inside the message, archiving
> attachments to NAS, etc). Let me first say that while it is entirely
> possible to do this in PHP, it is probably not the best choice (my
> opinion, of course).
>
> If you're more specific about what you are trying to do, you'll probably
> get better answers. For example, can your script sit on the same
> machine as the mail server, or do you need to use IMAP to retrieve the
> messages (which is far more complicated)? Will the process be initiated
> manually, or periodically, or will it always be running? What sort of
> things do you intend to do with the information in the messages?

There are perl scripts that I know of (mainly in trouble ticket systems)
that ARE the application that recieves the mail, instead of a cronjob
inbox poller. Requires some more access to the server then just some
shared hosting though.
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация