Ditutup

Watch directory and send Autoresponses

I would like to put together a script to do the following job. A coregistration company will be sending files by FTP to a directory on a server. These files will contain data including a name and email address. Files will be sent in real time as registrations occur. They will be sent in a specific text format which can be discussed during development.

We need something that will watch the directory for new files added (perhaps checking on a cron run system - or other method if you can suggest one). As the script filnds a new file, it needs to open it, extract email addressand name, and send a predetermind autoresponse by email. For record keeping, probably best to CC a copy of the mail to an admin address, or list in a mysql db perhaps - or both - open to suggestions on that - maybe just append to a log file which mail addresses were sent an email and at what time - then once per day send a copy of the log to the admin address.

All sounds pretty simple to me if you know the right technology (I don't) - I am unsure if php is the right way to go or if perl or something else would be better.

Kemahiran: Linux, PHP

Lihat lebih lanjut: php watch directory, perl technology, don best, job suggestions, job directory, were, suggest name, sounds, name suggestions, mail ftp, email send, checking email, file email extract, simple cron job linux, php list directory files, php list directory, php list file directory, mysql append data, mysql append, address name format, copy ftp directory, probably, extract addresses, list technology, email extract perl

Tentang Majikan:
( 3 ulasan ) Frankston, Australia

ID Projek: #42862