sensitivity: Set or query message sensitivity

View source: R/header-sensitivity.R

sensitivityR Documentation

Set or query message sensitivity

Description

Manipulate the Sensitivity field as specified in RFC 2156.

Usage

sensitivity(msg, sensitivity = NULL)

Arguments

msg

A message object.

sensitivity

Sensitivity level. One of "personal", "private", or "company-confidential".

Value

A message object.

Examples

# Not sensitive.
envelope() %>%
  subject("Your daily dose of spam")

# Sensitive personal message.
envelope() %>%
  subject("The results from your test") %>%
  sensitivity("personal")

# Sensitive private message.
envelope() %>%
  subject("Your OTP (don't show this to anybody!") %>%
  sensitivity("private")

# Sensitive business message.
envelope() %>%
  subject("Top Secret Strategy Document") %>%
  sensitivity("company-confidential")


emayili documentation built on June 24, 2024, 5:12 p.m.