kastellu Posted May 5, 2006 Share Posted May 5, 2006 Can anyon give me a good example of mail that will run under IIS in winxp and asp,... thanks Link to comment Share on other sites More sharing options...
Yahweh Posted May 5, 2006 Share Posted May 5, 2006 Can anyon give me a good example of mail that will run under IIS in winxp and asp,... thanks<{POST_SNAPBACK}> Here you go:http://www.w3schools.com/asp/asp_send_email.asp Link to comment Share on other sites More sharing options...
kastellu Posted May 6, 2006 Author Share Posted May 6, 2006 O.K. thanks, but how do i tell the page where my form is to send it over this code. I have found bunch of this codes , where only xode for sendmail is , but newer how to set form. When i use this codes , nothing happens,... So how set the par with form if you have code like this: <%Dim sMsg Dim sTo Dim sFrom Dim sSubject Dim sTextBody sTo = "recipient@maildomain.com"sFrom = "fromaddress@maildomain.com"sSubject = "Insert here your subject text"sTextBody = "Insert here your plain body text"Dim objMail'Create the mail object Set objMail = Server.CreateObject("CDO.Message")'Set key properties objMail.From = sFrom objMail.To = sTo objMail.Subject= sSubject objMail.TextBody = sTextBody 'Send the email objMail.Send 'Clean-up mail objectSet objMail = Nothing%> Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now