Helping ordinary people create extraordinary websites!
GET OUR NEWSLETTER
Your Email:
 

Retrieve Your Databases with a Click

By Will Bontrager
2005-05-24


The Email Template

The feedback.csv file can be delivered in the email body. And it can be an attachment to the email.

Probably an attachment would work best, in this case. The attachment, once received, can simply be double-clicked to view. Alternatively, the file can be dragged into a spreadsheet or database program that can import CSV files.

This example presents both retrieval methods. File feedback.csv will be embedded in the body of the email and also attached.

Here is the template:

From: webmaster@example.com

To: webmaster@example.com
Subject: Your file :-)

[[INSERT data/feedback.csv]]
[[ATTACH data/feedback.csv]]

That's all there is to it.

Change the webmaster@example.com email addresses to whatever is appropriate for you.

If you want only an attachment, remove the [[INSERT...]] placeholder. And vice versa.

More than one file may be attached by providing more than one [[ATTACH...]] placeholder, one placeholder per file. Similarly, multiple files can be inserted into the email body with multiple [[INSERT...]] placeholders.

(The Master Form V4 manual has information about the placeholders, including how to specify file locations.)

Upload the email template to your server someplace where Master Form V4 can find it. For our examples, we'll assume the template file name is "filesend.txt" and that it's located in a subdirectory named "templates".



Tutorial Pages:
» Retrieve Your Databases with a Click
» The Email Template
» The Form


Copyright 2004 Bontrager Connection, LLC


 | Bookmark
Related Tutorials:
» Enrich Your Web Applications
» Microsoft Complicates HTML Emails With Outlook 2007
» Testing Your Forms for Hijacking Vulnerability
» Control Your Domain Registration Data
» HTML Forms POST, GET
» HTML Tables

Advertise with Us!


Tutorials Scripts Web Hosting Developer Manuals
Resources