<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<br>
<!--WISESTAMP_SIG_79158_START--><!--WISESTAMP_SIG_79158_END--><br>
<br>
On 4/11/2011 2:42 PM, Jean-Pierre A. Radley wrote:
<blockquote cite="mid:20110411194219.GB27829@jpradley.jpr.com"
type="cite">
<pre wrap="">Enrique Arredondo propounded (on Mon, Apr 11, 2011 at 01:29:01PM -0500):
| Hi,
|
| I want to send by email a form within input processing using the printer
| "command" feature, is that possible ?
|
| I was thinking about doing it like this:
|
|
|         then: printer "cat | mail -s 'yada' <a class="moz-txt-link-abbreviated" href="mailto:test@test.com">test@test.com</a>"
|
| then: form "letter";end
|
| Would it work ? Sorry for not testing it but in this case I don't want to
| torpedo something that will cause my whole system to blow up.
Not quite. I've got some code like this:
        ::printer type "nocodes":
        ::printer "|mail -s 'Quote for"<hc{"'"<hm:
        ::form "custquote":
        ::printer reset:
This will fill in values on the output format called "custquote", and
mail it, hc being a customer's name, and and hm its email address.
</pre>
</blockquote>
It works perfect!<br>
<br>
Thanks so much<br>
<br>
<br>
</body>
</html>