When you create a list server it's best to accept the mail and then do the
actual sending in a background process (scheduled). The process is
something like:
Option 1
- mail is received for list
- verify that sender is a list member, if not then send rejection mail
- store mail and set up a db record for later processing
- send notification to sender that the mail has been scheduled for delivery
- use inFusion Scheduler to send the mail
You will need to loop over the cfx tag here if you need personal
customization - otherwise, I would just use the query parameters in the cfx
tag.
Option 2
There is also another way to do this - using an SQL trigger instead of the
scheduler. When you save the mail you also write a db record. The
insertion of the record fires off an SQL stored procedure that uses the
iMSMail COM object to send the mail.
I currently set up a server that uses option 1 but I know of another client
that uses option 2. Personally, I think that option 2 is the way to go.
HTH,
Howie
----- Original Message -----
From: "Guillermo Dewey" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Monday, March 26, 2001 9:30 PM
Subject: [iMS] list server
> Hi All
>
> I am finishing a list server but not sure if looping the cfx_imsmail over
> adding the query parameter on the same tag would really make a difference
> on performance and execution time. The app currently has a loop over a
> query and feel very comfortable with it since it allows me to call and do
> many things that would be harder to do the other way.. the thing in
> question here is performance.. I am sure the 2 way will get the same
result ..
>
> any comments on this Howie or anybody?
>
>
> regards
>
>
>
> ********************************************
> * Guillermo Dewey Guerra
> * Metro Solutions S.A. de C.V.
> * [EMAIL PROTECTED]
> * ICQ: 25876549 (GDewey)
> *
> * http://www.metro.com.mx
> * http://www.ablecommerce.com.mx
> *
> * Tel. (011) (52) (8) 3-90-7000
> * Fax (011) (52) (8) 3-90-7001
> * Cel. (011) (52) (044) (8) 3-09-24-16
> * Monterrey N.L. Mexico
> ********************************************
========================================================================
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/
========================================================================