Contact Form: Mail with Attachments
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON-COMMERCIAL PROJECT ( website or other ... [+]
Package includes: FLA
Flash Version: Flash CS3, Flash CS4
Viewable with: Flash Player 9
Action Script: ActionScript 3.0
Settings can be configured in a XML file:
- error messages to be displayed when the form is submitted with unproperly formatted fields;
- default texts in fields;
- fields to be cleared upon form closing;
- title of the form and labels;
- path to sendmail script PHP file;
- path to upload script file.
The form sends a confirmation mail to the mail you pass in as your mail. The body of this confirmation mail can be changed in globals.php file: this confirmation mail also contains a copy of the original mail
Mail validation included.
PHP files included:
Open globals.php and edit the various constants there to reflect your identity.
The path to the sendmail.php and upload_file.php file can be set in the xml file.
sendmail.php, globals.php and mime_fake.php files must be placed in the same location where the upload_file.php file is located, an empty files directory must be created: this is where the uploaded file (attachments) will be temporary stored, and deleted after the mail is sent; the directory must be empty and allow php to access it read/write
Files can be attached or deleted in any order. To delete an attached file, click it's name on the list, and wait for the red delete button to show. Then press the delete button and the file will be deleted.
When attaching files, if one file is bigger than the max allowed size set in the XML (in KB) that file is not attached and no warning is issued.
You can try this demo to see how it works.
If you set a valid mail, you will receive the confirmation mail along with a copy of the message you're sending (with attachments too :) )
The demo is not functional anymore.
A new version is available, v1.2.
Added a new parameter in globals.php.
Fixed some issues and made more robust.
I strongly suggest updating to this new version.
For changes and instructions please consult my blog page:
Other by pinosh: