iMS has some predefined tokens, one of which is SMTPTO (there are others, including
the email headers). So, you can do something
like:
<cfx_imsmail query="IPList" smtpto="#FAXX#"
header_to="<:smtpto:>"
parsetokens="yes" qtoken_ClassName="ClassName" qtoken_id="id"
qtoken_Contact="Contact" qtoken_org_name="org_name" qtoken_city="city"
qtoken_state="state" qtoken_zip="zip" qtoken_telephone="telephone"
qtoken_fax="fax" qtoken_email="email" qtoken_website="website"
qtoken_classified="classified" qtoken_fait="fait"
header_from="[EMAIL PROTECTED]" header_subject="An Invitation to Edit
Your Free Home Page at SmarterYellowPages.com"
header_return_path="[EMAIL PROTECTED]"
SMTPFROM="[EMAIL PROTECTED]"
hostname="adsl-66-123-210-58.dsl.snfc21.pacbell.net" body="#Body_top_fax#>
HTH,
Howie
----- Original Message -----
From: <[EMAIL PROTECTED] (paul smith)>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 3:56 PM
Subject: Re: [iMS] Header to Send Fax Only
> If I remove the email address from the query then I won't be able to
> include the email address in the body of the message (as part of the data
> sent).
>
> best, paul
>
==^=======================================================
This list server is Powered by iMS
"The Swiss Army Knife of Mail Servers"
--------------------------------------
To leave this list please complete the form at
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================