[ic] [email]

Ryan Hertz interchange-users@interchange.redhat.com
Thu Mar 21 08:53:01 2002


At 11:23 PM 3/20/02 -0800, Jim Webster wrote:
>Hi,
>
>Is it possible to use a ".txt" template vs. the [email] tag?  My current
>configuration takes about 15-20 seconds each time I request that action in
>the browser.
>
>This is what I currently have now:
>
>On the actual data page:
><form action=[area datapage] method=post>
><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="confirmation">
><input type=hidden name=notify value=yes>
>
>On the confirmation page:
>[if cgi confirmation eq yes]
>[email
>to="[data table='userdb' column='email' key='[cgi email_to]']"
>subject="My Site Name - Email Alert"
>from="emailadmin@mysitename.com"]
>Dear [data table="userdb" column="username" key="[cgi email_to]"],
>
>Message goes here.
>[/email]
>[/if]


Are you wanting to do something like send a text file as the email 
body?  Perhaps you could do something like:

[email to=...]
[include file=...]
[/email]