|
In addition to posting to the database with DBStore, you can use email and page building functions. You can have DBStore create a file on your site at a specific path, with a unique filename based on the date, using the data provided from the database post. You can have DBStore send a custom email with the information being submitted to the database. The custom email can be used to import new records on the client side to contact management software, to a database or for features like postcards and greeting cards. With the DBStore Email functions you can generate and customize any part of the email header.
| INPUT |
POST METHOD |
| DB_TO |
<input type="hidden" name="DB_TO" value="you@yourdomain.com"> |
| CC |
<input type="hidden" name="CC" value="your_buddy@yourdomain.com"> |
| BCC |
<input type="hidden" name="BCC" value="your_buddy@yourdomain.com"> |
| DB_FROM |
<input type="text" name="DB_FROM" size="30"> |
| header |
<input type="hidden" name="header" value="Content-Type: application/x-gm-impdata"> |
| subject |
<input type="hidden" name="subject" value="Contact From Website"> |
| EMAIL_BODY |
<input type="hidden" name="EMAIL_BODY" value="EmailTemplate.txt"> |
| DB_FIELDFROM_(fieldname) |
<input type="text" name="DB_FIELDFROM_Fieldname"> |
| DB_FIELDTO_(fieldname) |
<input type="hidden" name="DB_FIELDTO_Fieldname" value="you@yourdomain.com"> |
| ReturnReceipt |
<input type="hidden" name="Return Receipt" value="YES"> |
| SAVEAS |
<input type="hidden" name="SAVEAS" value="/subdir/filename.htm"> |
DB_TO
This function sends the information posted with DBStore to a specific email address.
CC
This function CC's the information posted with DBStore to one additional email address. This function will only send a CC to one additional email address.
BCC
Allows you to send a blind carbon copy of the form data to one or more additional email addresses. To BCC more than one address, you would set up your form statement as follows:
<input type="hidden" name="BCC1" value="your_other_buddy@yourdomain.com">
the next BCC:
<input type="hidden" name="BCC2" value="your_third_buddy@somedomain.com">
and so on.
DB_FROM
Specifies the "from" address when an email is sent using the DB_EMAIL function.
header
Allows you to specify custom header information. This feature enables custom email import of records to contact management software like Goldmine. You can also specify new formats of email like html-based email.
Example:(Content-Type: multipart/alternative;)
Another example of the use the header function is to specify ReturnReceipt addresses.
Example:(Disposition-Notification-To:)
subject
Specifies the "subject line" of the email.
EMAIL_BODY
Allows you to build a custom email message based on the values posted to the database. You create your email body template as a text file with##tags around the fieldnames of the data that you wish to use in the email message.
Example:
Dear ##FIRSTNAME## ##LASTNAME##,
Thank you for submitting your customer information to us on ##DATE##.
We will send the information you requested to ##ADDRESS## ##CITY##, ##STATE## ##ZIP##.
DB_FIELDFROM_(fieldname)
Specifies the "from" address when an email is sent using the DB_FROM or DB_FIELDFROM_ functions as well as posting the from email address to the database.
DB_FIELDTO_(fieldname)
Sends the information posted with DBStore to a specific email address as well as posting the email address to the database.
ReturnReceipt
Captures the IP Address of the person submitting the form.
DB_USER_ IP_
Sends you a return receipt from the recipient of an email message sent by DBStore.
SAVEAS
Allows you to store the final template data that is returned into a text file of your choice. File extensions can be any type of text file, such as .css, .html, .htm, .txt, .js, etc.
####. = You can generate a unique (date/time based) file name by placing ####. prior to the file extension.
Example:####.htm
You can also have this function generate a specific portion of the file name. First, assign whatever text or file name you would like, then place ####. exactly prior to the file extension you wish to specify.
Example:YourFileName####.htm
©1995-2001 InfoDial, Inc.
|