SMTPCmd
Novell Cool Solutions: Cool Tool
Reader Rating
from 2 ratings
In Brief
Add email notifications to your batch files.
Vitals
- Product Categories:
- NetWare
- Functional Categories:
- Batch File
- Server Utilities
| Posted: | 9 Mar 2005 |
| File Size: | 796KB |
| License: | Free |
| Download: | /coolsolutions/tools/downloads/smtpcmd.zip |
| Publisher: | Bryan Keadle |
Disclaimer
Please read the note from our friends in legal before using this file.
Details
As you automate administrative tasks, it's often handy to send an email notification of the process being completed...or when it fails. SMTPCMD gives you a command-line ability to send email notification to one or more users, including specified attachments. Unique about this command is that you don't need to configure any mail services or clients on the workstation. SMTPCMD will attempt to send directly to the MX record of the workstation's domain name, or alternatively, to a specific email server.
SYNTAX: SMTPCMD (FROM="From_Name") (To1,to2,...) (Subject) (Message) (Attachments) (SMTP Server) (QUIET)
FROM= : (OPTIONAL) Specify the FROM address of the mail message. If not specified then from will show: bkeadle on BKEADLE-IS123
PARAM1 : To address(es), comma separated. "?" to be prompted. Multiple users at same domain can be specified as: user1+user2+user3@domain.com
If "@" is not specified, the domain name
of the sending computer is appended
PARAM2 : Subject line
PARAM3 : Message text. You can include a full path to a filename that contains the contents of the message
PARAM4 : (OPTIONAL) Attachment file(s)
PARAM5 : (OPTIONAL) Specify and SMTP server. SMTP servers are automatically found by an MX lookup for the recipients domain name
QUIET : (OPTIONAL) Do not display any message boxes
If no parameters are specified, you'll be prompted for them
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
Reader Comments
- It would be better if the param4 and param5 optional parameters were tagged like the From parameter is - as is, there is no way to specify an SMTP server without filling in a dummy name for an attachment. It would also be nice if the auto MX search were to search additional domain suffixes, or at least the parent domain of the workstation domain.
- These tool as a NLM is my hope or a protable source code.