Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NAME
sendmail - send a message to one or more recipients

SYNOPSIS
sendmail [OPTION...] ADDRESS...

DESCRIPTION
Send a message to the specified ADDRESS(es).

OPTIONS
-a ATTACHMENT...
Include list of files as attachments. List should be a comma-separated list of file names.

-b BCC_ADDR...
Send blind carbon copies to list of recipients. List should be a comma-separated list of addresses.

-c CC_ADDR...
Send carbon copies to list of recipients. List should be a comma-separated list of addresses.

-f FROM
Set sender email address, defaults to current user.

-h HTML_MESSAGE
Set message HTML content.

-m PLAIN_TEXT_MESSAGE
Set message plain text content.

-r REPLY_TO_ADDR...
Set the list of addresses to which replies should be directed. List elements should be comma-separated.

-s SUBJECT
Set message subject, defaults to empty string.

The following options are SMTP specific:

-A
Instruct SMTP to use authentication.

-H HOST
Set the host address of the SMTP server.

-N NAME
Set the user name of the account on the SMTP server.

-P PORT
Set the port number to which the SMTP server is listening.

-PW
Prompt for the password of the account on the SMTP server instead of specifying it using -W option.

-S
Instruct SMTP to use SSL connection.

-W PASSWORD
Set the password of the account on the SMTP server.

EXAMPLES
To send an email to a recipient, use the below command
Code Block
sendmail -s 'FluidShell New Features' -m 'Aqua Data Studio 12.0 has a new FluidShell' tariqrahiman@abcdefgmail.com,jon1three@aquaclusters.com

NOTES
SMTP related options are defaulted to Aqua Data Studio's SMTP settings which can be altered using 'File > Options > E-mail > SMTP Server' menu.