Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2005, 11:08 PM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default Writing Email Application.

Hi All,

As I am new to email application, can anybody let me know followings:

1)What s/w infrastructure I need to run email appln? e.g. IIS for ASP.

2)Any links/tutorials which teaches to write such an application.

Thanks in advance.:)

 
Old June 8th, 2005, 02:32 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default

Updating..
I am using a remote server for asp programming, so IIS is not install at my PC. it is over the remote server.


 
Old June 10th, 2005, 05:15 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Try reading something on CDOSYS on microsoft site. That should be more useful in achieveing this.

_________________________
- Vijay G
Strive for Perfection
 
Old June 21st, 2005, 05:58 PM
Registered User
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You would need IIS along with its SMTP server
You can also use other components like Bamboo SMTP or Jmail

A sample code is attached

Dim objCDO
Dim txtSubject
Dim txtBody

txtSubject = "test email"
txtBody = "This is a test email."

Set objCDO = Server.CreateObject("CDO.Message")
' This code assumes the above CDO
'instantiation code is included
objCDO.To = "[email protected]"
objCDO.From = "[email protected]"
objCDO.cc = "[email protected]"

objCDO.Subject = txtSubject
objCDO.TextBody = txtBody
objCDO.Send

set objCDO = Nothing






Similar Threads
Thread Thread Starter Forum Replies Last Post
email application webnathan Wrox Book Feedback 3 April 13th, 2007 09:30 AM
Please help in writing Bluetooth application Mahenj C# 2005 0 July 14th, 2006 01:54 AM
send email desktop application vipinpaliwal1980 VB.NET 2002/2003 Basics 0 April 19th, 2006 10:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.