Results 1 to 3 of 3

Thread: automated emailing capability

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    automated emailing capability

    I need to put a SMTP mail server on my webserver and then make it run a PHP script and use the mail call to send emails every morning.

    The webserver currently has IIS installed, but the mail server installed with it doesn't seem to want to work. So the first task is to get a good mail server installed. Any suggestions?

    The next problem is sending the mail. I have that done. It's a simple page that checks a database and grabs certain records to be mailed off to different users.

    The last problem is the automation. I need to run the script every morning at 7 AM. Does anyone know how to accomplish that?

    Any help would be appreciated.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    I don't have a suggestion for the mail server, but for schedualing the job..... oh, crap you're on an IIS box, which means Winders.... .I was going to suggest setting up a cron job to run the PHP file, but I don't think that's going to work on Windows. Dang, I got nothing.

    TG
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    task scheduler will run an app at a specific time, and do it on schedule

    as will the AT command. See AT /?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width