User Guide: Vista Manager SNMP Plug-in version 2.9.1

minimail



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.

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

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

Command Syntax

minimail <SMTPServer> <Parameters...>

Example Command Line

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).
-p port
or
--port port
Specify the port number.
-f addr
or
--from (((param|addr
Sender email address
-t addr [,addr .. ]
or
--to addr [,addr .. ]
(required) recipient email address. Use commas(,) to specify multiple addresses.
-c addr [,addr .. ]
or
--cc addr [,addr .. ]
Carbon copy email address. Use commas(,) to specify multiple addresses.
-b addr [,addr .. ]
or
--bcc addr [,addr ..]
Blind carbon copy email address. Use commas(,) to specify multiple addresses.
-r addr
or
--replyto addr
Reply-To email address
-s string
or
--subject string
(required) email subject
Note
You can use special variables described in Action Command.
-m "content"
or
--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.
-i filename
or
--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.
-a filename
or
--attach filename
Specify an attachment filename.
-e {Base64|UUENCODE}
or
--encode {Base64|UUENCODE}
Specify a Binary-to-ASCII encoding scheme for the attachment. The default is Base64.
-@ {JIS7|UTF8}
or
--charset {JIS7|UTF8}
Specifies the character set from either JIS7 or UTF8.
-B
or
--OP25B
Specify when using OP25B (Outbound Port 25 Blocking).
If -p (or --port) is not specified, -p 587 is applied.
-S
or
--SMTPS
Specify when using SMTPS (SMTP over SSL/TLS).
If -p (or --port), -B (or --OP25B) is not specified, -p 465 is applied.
-T
or
--STARTTLS
Specify when using STARTTLS.
-S (or --SMTPS) must be specified when using this option.
-F
or
--no-check-certificate
Specify if the certificate is not validated.
-A
or
--SMTP-AUTH
Specify when using SMTP authentication (SMTP AUTH).
-P
or
--PLAIN
Specify when using PLAIN for SMTP authentication.
-L
or
--LOGIN
Specify when using LOGIN for SMTP authentication.
-C
or
--CRAM-MD5
Specify when using CRAM-MD5 for SMTP authentication.
-D
or
--DIGEST-MD5
Specify when using DIGEST-MD5 for SMTP authentication.
-u username
or
--userid username
Specify the user name to be used for sending mail.
-w password
or
--password password
Specify the user's password for sending mail.

06 Sep 2023 11:35