Home | Advertising Info231 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, April 20, 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 ASP control controls class classes module script Scripts applet 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.

Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets 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