keywords {emayili} | R Documentation |
Add or query keywords of message.
Description
Add or query keywords of message.
Usage
keywords(msg, ..., append = FALSE)
Arguments
msg |
A message object. |
... |
Keywords. |
append |
Whether to append or replace keywords. |
Value
A message object or the comments of the message object (if comments
is NULL
).
See Also
Examples
# Create a message and set the keywords.
envelope() %>% keywords("newsletter, marketing")
envelope() %>% keywords("newsletter", "marketing")
envelope() %>% keywords(c("newsletter", "marketing"))
# Retrieve the keywords for a message.
msg <- envelope() %>% keywords("newsletter, marketing")
keywords(msg)
[Package emayili version 0.9.1 Index]