an optional provider email provider
with which an STMP account is available. Options
currently include gmail, outlook,
and office365. If nothing is provided then
values for host, port,
sender, use_ssl, use_tls,
and authenticate are expected.
host
the host name.
port
the port number.
sender
the sender name.
use_ssl
an option as to whether to use
SSL; supply a TRUE or FALSE
value (TRUE is the default value).
use_tls
a logical value to
indicate whether to use TLS; supply a TRUE
or FALSE value (FALSE is the
default value).
authenticate
an option as to whether to
authenticate; supply a TRUE or FALSE
value (TRUE is the default value).
creds_file_name
an option to specify a
name for the credentials file. If no name is
provided, one will be automatically generated.
The autogenerated file will be invisible and
have its name constructed in the following way:
.bls_<host_name>.
# NOT RUN {# Create a credentials file to facilitate# the sending of email messagescreate_email_creds_file(
user = "user_name@gmail.com",
password = "************",
provider = "gmail")
# }