Home | Advertising Info70 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, May 26, 2018  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.


We didn't realize
the site was so popular.

Other Stuff

Active Server Pages what is asp programming how to sample asp example code scripts software asp forum mail sessions applications global.asa CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Re: error trapping
From: Elija
Date: 8/30/2001 11:07:40 AM


1. Try something like...

some code
on error resume next
if err.number <> 0 then
your error code
end if
on error goto 0

2. Not completely sure what you are trying to achieve but...

You could put all the neccessary send mail code into a sub and then pass in the details...

' Send an email to a specified recipient
sub sendemailto(strto, strcc, strfrom, strsubject, strbody)

Dim objMail
Set objMail = Server.CreateObject("CDONTS.NewMail")

objMail.From = strfrom
objMail.Subject = strsubject
objMail.To = strto
objMail.cc = strcc
objMail.Body = strbody

on error resume next
if err.number <> 0 then
call logMailError(err.number, err.description)
end if
on error goto 0

' Tidy up by destroying all objects created in this sub.
set objMail = nothing

end sub

Hope this helps


Previous Message


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com