Is there a way to have a asp webpage take information from the page and send an email?
thanks
Printable View
Is there a way to have a asp webpage take information from the page and send an email?
thanks
I normally use the JMail component to do that.
can you say more about that.
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
%>