View Full Version : Send mail without COD
Hi all, I am trying to send an email in asp classic without COD. I have been told this is possible using some http SMTP web mail function, but I cant find any thing about in on the net? Could any one point me to some code examples?
11-12-2007, 01:03 PM
Have you tried using Haddock?
AFAIK you can send email in ASP via two methods: CDO, or a 3rd-party component (http://www.aspemail.com/) - that one's free but google will throw up several more. I know of no other way.
11-15-2007, 02:56 PM
While you may not want to use CDO, this is what I use and I find it pretty easy-to-use and it works well.
' email address passed in from form
Dim email = request.form("email")
' send message to person who filled out the form
confirmMessage.Subject = "Contact Us"
confirmMessage.To = email
confirmMessage.HTMLBody = "<p align=left><font face=arial size=2>"
confirmMessage.HTMLBody = confirmMessage.HTMLBody & "Thank you for contacting us!<br><br></font></p>"
set confirmMessage = Nothing
So... that doesn't answer your question, but I'm hoping it might make your life easier using CDO. My other suggestion would be along the lines of what Spudhead says - find some 3rd party software API you can plug into.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.