classic asp sending email -
is possible send email without cdo , else installed dlls?
if don't want use dll send email, think solution make call asp external mail server responsible sending of emails. use http post accomplish it.
on server, code should like:
dim url, httpbroker url = "http://mail.yourdomain/send.asp" set httpbroker = createobject("msxml2.serverxmlhttp") httpbroker.open "post", url, false httpbroker.setrequestheader "content-type", "application/x-www-form-urlencoded" httpbroker.send "to=name@gmail.com&body=<html><body>hello!</body></html>" response.write httpbroker.responsetext set httpbroker = nothing
on mail server, send.asp
responsible send email using dll installed on server or cdonts. this solution work if have server required dll installed.
now, if don't have server @ disposal, should have @ api of mail engine installed on server. if using mail enable, there exists pickup directory in emails send can dropped processing. depends on software running.
Comments
Post a Comment