User Guide: Vista Manager SNMP Plug-in version 2.8.1

# minimail

Usage
Search Path
Command Syntax
Example Command Line
Parameters

minimail is a simple mail transfer client which comes with SNMP Plug-in. It can be used to send notification emails on events such as trap reception. Administrator can be always notified of network events by receiving those emails using a mobile phone.

> Note

> > minimail is installed with SNMP Plug-in on a server host. When you access the server from a remote host, minimail cannot be run on the remote host.

> Note

> > minimail is a simple command-line mail transfer client. It cannot receive emails. It can check errors in parameter values only.

> Note

> > If you use "Send Mail" (minimail) action command for an event, test it on Command Prompt and make sure that emails are sent as expected.

> Note

> > minimail does not support SMTP authentication.

## Usage

minimail is invoked by a command line. Although it can be used as an individual command-line tool, it is usually used in the action command for a specific event.

### Search Path

[Vista Manager EX Installation Directory]\Plugins\AT-SNMP\NetManager\bin

### Command Syntax

minimail <SMTPServer> <Parameters...>

- <SMTPServer>
  SMTP server name
- <Parameters...>
  Other parameters

### Example Command Line

`minimail smtp.suke.co.xx -from allied@buu.suke.co.xx -to admin@pote.suke.co.xx -subject "Test Mail Part1" -mailfile c:\tmp\testmail.txt
`

### Parameters

The following list explains the parameters for minimail.
Required parameters are marked with "(required)" in "Description" column.
Separate a parameter name and its value with one or more spaces (except SMTPServer).
Note that you have to specify either -mailfile or -mailbody parameter but not both.

Table 1: minimail parameters
Parameter Name | Description
--- | ---
SMTPServer | (required) SMTP server name This must be the first parameter after the command name (minimail).
-from addr | Sender email address
-to addr [,addr .. ] | (required) recipient email address. Use commas(,) to specify multiple addresses.
-cc addr [,addr .. ] | Carbon copy email address. Use commas(,) to specify multiple addresses.
-bcc addr [,addr ..] | Blind carbon copy email address. Use commas(,) to specify multiple addresses.
-replyto addr | Reply-To email address
-subject string | (required) email subject Note You can use special variables described in Action Command.
-mailbody "content" | (required if -mailfile is not specified) Specify a body text in double-quotes. Use "\n" for newline. This cannot be used when -mailfile parameter is specified. Note You can use special variables described in Action Command.
-mailfile filename | (required if -mailbody is not specified) Specify a text file name which contains email body text. This cannot be used when -mailbody parameter is specified.
-attach filename | Specify an attachment filename.
-encode {Base64|UUENCODE} | Specify a Binary-to-ASCII encoding scheme for the attachment. The default is Base64.

28 Nov 2022 12:59