PHP Form Mail Server Behavior
This product is fully compatible with Adobe Dreamweaver CS5!
This Server Behavior inserts PHP code for sending submitted form data to specified recipient(s). The code will automatically parse all form fields to include in the message body in the "Field name: Field value" format.
The list
of supported parameters includes:
- Sender email - required.
- Recipient email - required.
- Message subject- required.
- Message body header.
- Parsed list of fields in the "Field name: Field value" format.
The fields will appear in the order they are presented in the form.
You can specify exceptions i.e. fields excluded from this list, such as Submit, Reset, Captcha, Subject, etc.
- Blank fields can be omitted.
- Message body footer.
- Message format (HTML or Plain Text).
- Cc (Carbon copy address).
- Bcc (Blind carbon copy address).
- Success page URL.
- Error page URL.
New in version 1.2.0:
- PEAR Mail support
A more powerful PEAR mail engine is now being used by default (if not installed or otherwise unavailable on the server the built-in PHP mail() function will be used instead).
With the PEAR mail
you can send email directly through an SMTP server of your choice by setting the following values:
- SMTP host
- User name
- Password
If any of the above is omitted the default SMTP server will be used instead.
Note: this extension DOES NOT validate your fields. It also does not support attachments.
Dreamweaver version Compatibility 
- Dreamweaver MX 2004
- Dreamweaver 8
- Dreamweaver CS3
- Dreamweaver CS4
- Dreamweaver CS5
Demo
You can test the extension using the form below. Fill it out and submit - don't forget to enter YOUR email into the corresponding field to receive the form data. You will receive two completely different messages. This is to demonstrate the ability to trigger more than one instance of this Server Behavior by submitting a single form.
Please note:
- Your email
will NOT be stored or used for ANY purpose other than for this test.
- If you are using a free email service (such as Yahoo or Hotmail) you might not receive email immediately or it might accidentally end up in your Junk mail folder.
|