Click to See Complete Forum and Search --> : asp auto email


srirammenon
August 21st, 2003, 01:54 AM
I want to create an asp script to send a confirmation email to the person who had registered upon clicking the submit button.
Also I like to track the email id of the users who sends mail to the site. could someone help me with this

ZoSoo7
August 26th, 2003, 03:37 PM
Check out the CDO component that comes with ASP
as far as the other part of your question, you will have to create a script that you execute from your browser if you want to use ASP, you can't run ASP as jobs so to speak. You would need to write a DLL that uses Outlook objects to check your mail.

do this to send out the message
<%
dim objMessage
set objMessage = CreateObject("CDO.Message")

'There are many other properties for the cdo object

with obJMessage
.From = "admin@yoursite.com"
.To = request.form("whateverField")
.body = "This is the body of the email"
.send
end with
%>