R: Set package specific options.

sendmail_options {sendmailR} | R Documentation

## Set package specific options.

### Description

Specify global sendmail options so that subsequent calls to `sendmail()` do not have to set them in the `control` argument.

### Usage

    sendmail_options(...)

    sendmailOptions(...)

### Arguments

`...` | Any options can be defined, using `name=value` or by passing a list of such tagged values. However, only the ones below are used in base sendmailR.

### Details

List of options:

- smtpServerSMTP server to contact. This can either be the mail server responsible for the destination addresses domain or a smarthost provided by your ISP or institution. SMTP AUTH is currently unsupported.

- smtpPortSMTP port to use. Usually 25 but some institutions require the use of the submission service (port 587).

- verboseShow detailed information about message submission. Useful for debugging.

### Value

For `sendmail_options()`, a list of all set options sorted by name. For `sendmail_options(name)`, a list of length one containing the set value, or 'NULL' if it is unset. For uses setting one or more options, a list with the previous values of the options changed (returned invisibly).

### Author(s)

Olaf Mersmann olafm@datensplitter.net

[Package sendmailR version 1.2-1 Index]