Default timeout is 120 seconds I believe. You can change this by specifying Server.ScriptTimeout = whatever (usually at top of script, after Option Explicit, of course...) Better idea, though would be to optimize your code so it doesn't need tons of time to run. Seeing as how you're using a mail component, could it be possible that the SMTP server is not responding? How many records are you returning from "SELECT email from emails" ? Dave <% David Mitchell Web Developer david at sofTV.net sofTV.net www.sofTV.net 613.729.6400 x268 %> www.IceRadio.ca "Canada's Best Music on the Web"