Home | Advertising Info181 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, February 23, 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 programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Re: send an email using ASP : try this, might help
From: gib
Date: 8/12/2000 10:57:43 PM


Try this,

It works fine for email and also attachment. Bad news, if the users use Mac, you might a problem with attachment. Good luck :-)

------------- Send Email -------------
Set objMail = CreateObject("CDONTS.Newmail")
objMail.From = "kobkan@hotmail.com"
objMail.To = "Kobkan.Sriboonsom@uts.edu.au"
objMail.Subject = "hello"
objMail.Body = Message
attachmentfile = absolute_path & "\Upload\" & session("upload_name")
objMail.AttachFile attachmentfile, session("upload_name"), cdoEncodingBase64
I also tried UUEncode with txt file
objMail.AttachFile attachmentfile, session("upload_name"), cdoEncodingUUEncode
objMail.MailFormat = cdoMailFormatMIME
objMail.BodyFormat = 0 cdoBodyFormatHTML
on error resume next

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.

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program 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