I answered this last week (I think).  It is not possible for the HELO template to be 
run more than once for a single connection.  If the remote client or server issues a 
HELO/EHLO more than once then the server will return a protocol error and the template 
will not be run.  Chances are these are different connections.

Regards,

Howie

----- Original Message ----- 
From: "Keith L. Miller" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2003 8:26 AM
Subject: [iMS] Templates run twice


> I'm not sure what is happening, but now all of my templates get run for each
> recipient.  What would cause this?  For instance, I have an <inlog
> text="template name"> line as the first line in HELO, MAIL, RCPT, and DATA.
> In my log file, when an email comes in for one recipient only, everything
> looks perfect.  However, if there is more than one recipient, all 4 files
> run again and again for each recipient.  This is resulting in multiple
> emails for each recipient because my DATA template loops through all
> recipients and saves the email.
> 
> Does this make sense?
> 
> Keith L. Miller
> ProjecTools.com Senior Developer
> 520 Hwy. 159 West
> Bellville, TX 77418
> Office: (713) 371-9841 ex:102
> Fax: (713) 371-9841
> 
> "A good programmer learns from his/her mistakes, but a great programmer
> learns
> from the mistakes of others." - Hal Helms
> "The Power of Antipatterns" ColdFusion Developers Journal Volume: 05 Issue:
> 05)
> 
> 
==^=======================================================
     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/Support/
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/Support/
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [EMAIL PROTECTED]
==^=======================================================


Reply via email to