Learn R Programming

sendmailR (version 1.4-0)

sendmail_options: 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(...)

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).

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.

Author

Olaf Mersmann olafm@datensplitter.net

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.