I use the following simpe javascript function to create a pause in the
execution of some code:

                                <script>
                                        function sendit() {
                                                window.close();

                                        }
                                        window.setTimeout(sendit,2000);
                                </script>

You could easily modify the function sendit above to execute your mailings
after the aformentioned timeout.

                                <script>
                                        function sendit() {
                                                <cfoutput>
                                                        <cfloop through
query>
                                                                <cfmail tag
and parameters>
                                                        </cfloop>
                                                </cfoutput>

                                        }
                                        window.setTimeout(sendit,2000);
                                </script>

Hope this helps

John Stanley
Web Developer
Centromine, Inc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to