The rsMarket recordset requires a url parameter: class_ad_id in order to return a result. Which one were you using in your testing? I'll try to reproduce the problem, but it will need that parameter to work if you were testing without it. Your code looks correct as long as the recordset is returning an email address it should work. My guess is that the problem is with the recordset.