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:
If any of the above is omitted the default SMTP server will be used instead.
New in version 1.3.0
Single attachment support
If an input file field is present on the form you can allow the sender to include an attachments
along with the message.
You can optionally restrict the attachment's file size and type.
Note: this extension DOES NOT validate your fields.
Dreamweaver version Compatibility
Dreamweaver MX 2004
Dreamweaver 8
Dreamweaver CS3
Dreamweaver CS4
Dreamweaver CS5 and CS5.5
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.