|
-
Feb 27th, 2001, 03:46 PM
#1
Is there a way to have a asp webpage take information from the page and send an email?
thanks
-
Feb 27th, 2001, 04:26 PM
#2
I normally use the JMail component to do that.
-
Feb 27th, 2001, 04:46 PM
#3
can you say more about that.
-
Feb 27th, 2001, 06:23 PM
#4
Hyperactive Member
try this. if you are running iis then it should work.
Code:
<%
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "[email protected]"
objCDO.From = "[email protected]"
objCDO.Importance = 1 '0 - Low, 1 - Normal, 2 - High
objCDO.Subject = "Hello there"
objCDO.AttachFile ("c:\MyPictures\new.jpg","new.jpg")
objCDO.Body = "Hey buddy, whats up for the weekend"
objCDO.Send
Set objCDO = NOTHING
%>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|