I am trying to send email using ASP.. everything works fine..<BR>but sometimes I dont get the e-mails this is due to sometimes the server being down or some error occurs..<BR>how do i know if the emails were sent or not.. i know i can check what was not sent in the badmail folder.. but at the time of submit how do i show weather the mail was sent successfully or not?<BR>here is the code:<BR>&#039;Send E-mail<BR> Set mailobject = Server.CreateObject("CDONTS.NewMail")<BR> With mailobject<BR> .To = mailTo<BR> .From = mailFrom<BR> .Bcc = addresses<BR> .Subject = subj<BR> .MailFormat = CdoMailFormatMime<BR> .BodyFormat = CdoBodyFormatHTML<BR> .Body = body<BR> .Send<BR> End With<BR> Set mailobject = Nothing<BR>Response.write "Mail was sent."