Sometimes it is helpful to send a mail from a batch file and to define all parameters without an installation. This program needs an smtp-server, it can be used it with the Microsoft-Standard - SMTPSVC, which is part of W2K and XP.
The program has a short description (german), but the parameters are self-describing:
-smtp ... the mail server
-from ... the mail-from
-to ... the mail-to
-cc ... semicolon-separated-list of copies
-bcc ... semicolon-separated-list of blind-copies
-r ... reply-address
-s ... subject
-b ... body, defined from the commandline, use \n for newline
-body ... mailbody from a file
-h ... flag: if set, the mail is sent as html
-a ... semicolon-separated list of attachments
smpt, from, to and s ore one body is needed, so you can send mails without a body-part.
It is a NET-Tool, so it needs .NET1.1, the runtime-version. No installation, copy it and use it or delete it, no registry ore administrative account is used.
|