sending mails to users taken from a rs (into a .vbs)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have an asp (classic) page from which I send mails to some users. I
select those users from a recordset and depending upon certain
condition, the messsages are sent.
Well, if I load this asp file, all the stuff works fine: the recordset,
the mails sent to the correct users (using CDOSYS in Win2003), so now
they can receive and read the messages without a single problem.

Now I need something like a demon implemented in a .vbs script. With a
bat file running every hour, i need the same functionalities: connect
and build the recordset, and sending the mails to the users in an
automated way, every hour.
But I just don't know if it's possible to do such a task. somebody has
an example of how could you send a mail from a vbs file that works
within the task manager? I don't ask for the task manager obviously,
but for the way sending mails are implemented in an automated .vbs.
I suppose it's not enough to paste part the same code (for connection
and recordset and mails) from the asp file into the vbs.
Hope my explanation is clear enough. Thanks in advance.

.



Relevant Pages

  • Re: sending mails to users taken from a rs (into a .vbs)
    ... Well, if I load this asp file, all the stuff works fine: the recordset, ... the mails sent to the correct users, ... Now I need something like a demon implemented in a .vbs script. ...
    (microsoft.public.scripting.vbscript)
  • Re: SMTP und POP3 bei IIS 6
    ... Einen Mailserver definiere ich als ein Stück Software, ... senden und empfangen kann. ... German ASP / ASP.NET-Portal: http://www.aspextra.de ...
    (microsoft.public.de.inetserver.iis)
  • 17 e-mails fr Microsoft
    ... Its the Swen virus. ... Richard ... >mails this morning! ...
    (microsoft.public.security)