----- Original Message -----
From: "Rey Muradaz" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Monday, May 20, 2002 3:07 AM
Subject: [iMS] A few questions


> Ok, so far so good--I got the POST engine to kick out mails.  Now a few
> questions that aren't addressed too clearly in the manual:
>
> - First, if I'm using CFX_IMSMAIL to generate the mailfiles, how do I get the
> tag to loop the query to use variables for the HEADER_TO field (i.e., insert the
> email address for each row of the query into the field)?
>

Set PARSETOKENS="YES" in the tag parameters and set HEADER_To="<:smtpto:>"

The above assumes that you are using the default token delimiters.

> - Along the same lines, can I insert variable values for a TOKEN_NAME field?  Or
> in both cases, do I have to do the loop *around* the CFX_IMSMAIL tag?
>

QTokens are used when you want to do this.  For example:

<cfquery name="users" ..>
   select email,name from db
</cfquery>

<cfx_imsmail query="users" queryfield="email" QToken_username="name"
...
body="Dear <:username:>

"
>

The QToken parameter tells iMS the name of the token and the field from the query that 
contains the information.

> - On an unrelated matter, when I try to use the post file to send mail to
> certain ISPs (particularly AOL), I get kicked back with errors like this:
> ############### Example 1##################
> 05/17/2002 08:01:10 AM [039] Sending mail to mailin-03.mx.AOL.COM
> 05/17/2002 08:01:10 AM [039] DEBUG: ->EHLO MYSERVER
> 05/17/2002 08:01:10 AM [025] DEBUG: <-220-rly-xf01.mx.aol.com ESMTP
> mail_relay_in-xf1.5; Fri, 17 May 2002 11:01:43 -0400
> 05/17/2002 08:01:10 AM [025] DEBUG: <-220-America Online (AOL) and its
> affiliated companies do not
> 05/17/2002 08:01:10 AM [025] DEBUG: <-220-     authorize the use of its
> proprietary computers and computer
> 05/17/2002 08:01:10 AM [025] DEBUG: <-220-     networks to accept, transmit, or
> distribute unsolicited bulk
> 05/17/2002 08:01:10 AM [025] DEBUG: <-220      e-mail sent from the internet.
> ############### Example 2##################
> 05/17/2002 08:01:10 AM [020] Sending mail to tor-mta2.attcanada.ca
> 05/17/2002 08:01:10 AM [020] DEBUG: ->EHLO MYSERVER
> 05/17/2002 08:01:10 AM [024] DEBUG: <-220-web6.internetwebhosting.com ESMTP Exim
> 3.35 #1 Fri, 17 May 2002 08:01:40 -0700
> 05/17/2002 08:01:10 AM [024] DEBUG: <-220-We do not authorize the use of this
> system to transport unsolicited,
> 05/17/2002 08:01:10 AM [024] DEBUG: <-220 and/or bulk e-mail.
> ############################################
>
> Any ideas how to get around these?  Please note that I'm not in fact sending
> unsolicited mail--the users I'm sending to are all on a legitimate opt-in
> mailing list.  How can I convey that to the remote servers?
>

Those are not errors - those are preambles from the other server...basically, it's 
just a message.  If you telnet into port 25 of
those servers you will see those messages.

Regards,

Howie


> Thanks in advance for your input.
>
> All the best,
> REM O-
>
==^=======================================================
     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]
==^=======================================================


Reply via email to