Pessoal,

A uns dias atrás vi alguém perguntando como fazer o
servidor aguardar um tempo n entre um envio de e-mails
e outro.

Hoje, coincidentemente eu achei isso:

<cfscript>
/**
 * Causes the current request to wait for a specified amount of time.
 *
 * @param ms Number of miliseconds to sleep. (Required)
 * @return Returns nothing.
 * @author Nathan Strutz ([EMAIL PROTECTED])
 * @version 1, September 29, 2003
 */
function sleep(ms) {
var thread = createObject("java", "java.lang.Thread");
thread.sleep(ms);
}
</cfscript>

Espero ter ajudado,

[]s
Ronan

--^----------------------------------------------------------------
This email was sent to: [EMAIL PROTECTED]

EASY UNSUBSCRIBE click here: http://topica.com/u/?b1dnXn.b7M5gI.YXJxdWl2
Or send an email to: [EMAIL PROTECTED]

For Topica's complete suite of email marketing solutions visit:
http://www.topica.com/?p=TEXFOOTER
--^----------------------------------------------------------------




Responder a