Hey everyone, Would really appreciate your help in this issue. <BR><BR>I am using a custom 404 error page which sends me an email every time someone stubles on a bad link. I am using massive asp pages and its backended by an access database. <BR><BR>Only trouble is, every time i refresh a page, its sending me error pages which actually do not have any error in them. Please help! <BR><BR>My cdonts code: <BR><BR>&#060;%@ Language=VBScript %&#062; <BR>&#060;%Dim URL, Referer <BR> Dim objCDO <BR> Set objCDO = Server.CreateObject("CDONTS.NewMail") <BR> strURL = Request.ServerVariables("HTTP_URL") <BR> strURL = Right(strURL, (Len(strURL) - (Instr(strURL, chr(59))))) <BR> strReferer = Request.ServerVariables("http_referer") <BR>%&#062; <BR><BR><BR>&#060;% <BR>objCDO.To = "august_1979@hotmail.com" <BR>objCDO.From = "root@server.com" <BR>objCDO.Subject = "Attn: Raj, 404 error!" <BR>ObjCDO.Body = strURL <BR>objCDO.Send <BR>%&#062; <BR><BR><BR>Would really appreciate it if you could throw any light on this. <BR><BR>Thanks a bunch in advance, <BR>Raj <BR><BR>This is the error code i am getting by email: <BR>http://www.myname.com/canada/srclib/dir/ptninfo.asp?id=3117 <BR>(my id 3117, works perfectly file too. dont know why it thinks its an error. also it doesnt seem to like gifs and jpegs.) <BR><BR>