PHP script to send ftp files by email in cron - repost
$30-50 USD
Bezahlt bei Lieferung
In short
=========
I need a PHP script which should send image files in ftp as attachment to a specified email address. And then the same script should delete the sent file from ftp folder. This have to happen everytime the PHP file is loaded.
In details
=========
Let's say I have some image files in a folder in a ftp account:
[url removed, login to view]
[url removed, login to view]
[url removed, login to view]
[url removed, login to view]
Every time I load the PHP script by cron or manually, the script have to pickup the first file in ftp folder which is "[url removed, login to view]" in this case and attach it as attachment in an email and send it to a specified email address. After have sent the file, the sent file should be deleted from the ftp folder. So next time the script loads the following files will be in ftp folder:
[url removed, login to view]
[url removed, login to view]
[url removed, login to view]
This time it should pickup the first file which is "[url removed, login to view]" and send the file as attachment to the specified email address. And then delete this file also and so on until there are no more files in ftp folder.
Also as subject in email, the file name should be appear without the extension name. For example the email should like this:
From:
To:
Subject: image1
Attachment: [url removed, login to view]
I believe this is a small project.
People who bid with unacceptable high amount will not be selected no matter how professional you are.
Please be fair!
Thank you.
Projekt-ID: #4371958
Über das Projekt
10 Freelancer bieten im Durchschnitt $42 für diesen Job
I Can easily get this done for you. I have created many successful PHP automation scripts in the past and I fully understand your requirements. Ready to get started right away.
Hi, I'm ready to code it in few hours. please let me do this project and code this php script .
Hi, I have done, similar stuff with PHP and where the server sends the auto e-mail with attachments. I understand you need a PHP file that executes script on your server that was configured to send e-mail. I can defin Mehr