OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Taylor, Gord (GORD.TAYLORroyalbank.com)
Date: Thu Nov 08 2001 - 08:30:43 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    If you have SMTP installed on your IIS 5.0 web server (probably works on 4.0
    as well), this is easy to accomplish. Simply write out to a file in the
    \InetPut\MailRoot\Pickup folder (assuming you didn't customize the
    location). SMTP will pick up the file and send it automatically. It needs to
    be formatted as follows:

    X-Sender: fromdomain.com
    X-Receiver: todomain.com
    From: fromdomain.com
    To: todomain.com
    Subject: Results

    <...write out your contents here...>

    <End the file with two blank lines.>

    What I've done in the past with applications, is simply write out whatever I
    want to a file, then prepend the above 5 lines to the file and ensure two
    blank lines at the end. I them move the file into the pickup folder.

    Works great, and only takes 1-2 seconds for SMTP to pick it up and deliver
    it.

    'til later
    Gord T.

    -----Original Message-----
    From: Ken Spreitzer [mailto:kenmaximized.com]
    Sent: Friday, November 02, 2001 11:41 PM
    To: focus-mssecurityfocus.com
    Subject: Advanced batch files for Hotfix Reporter...

    ...are now available. We've made available batch files for prompting for
    hosts to scan, prompting for all parameters, emailing, etc.

    More info here:

    http://www.maximized.com/freeware/hotfixreporter/cmdfiles.htm

    I'd be interested in hearing what programs people use to send an email from
    the command line [within a batch file].

    Thanks,
    Ken Spreitzer
    Maximized Software

    -------------------------------------------------------------------------------------------------------------------------------------------
    This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.

    Ce courriel est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser immédiatement, par retour de courriel ou par un autre moyen.

    ==============================================================================