auto email in asp.net

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have developed a website in ASP 2.0 and SQl
Server.

I want my web site sent email with HTML format(with Photo)
automatically ...at some specified time
(lets say it execute ceratain ASP page at 3:00 am that
send emails)

how can i schedule that?

Should i write some program (EXE) that will run on web
server to do this task or do we have some other decent
solution?
 
also another approach could be to create an executable and assign the
Task Schedular to routinely run it fro you.
 
it could be an aspx-form too

you can call it from vbs-script, sheduled in Sheduled Tasks

-------------------------------
Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")
objXMLHTTP.Open "GET", http://localhost/Task.aspx, False
objXMLHTTP.Send
Set objXMLHTTP = Nothing
End Sub
Sub CallUrl(ByVal u)
Set objXMLHTTP = CreateObject("MSXML2.XMLHTTP")
objXMLHTTP.Open "GET", u, False
objXMLHTTP.Send
Set objXMLHTTP = Nothing
 
Back
Top