id {emayili} | R Documentation |
Set message ID.
Description
Set message ID.
Usage
id(msg, id)
Arguments
msg |
A message object. |
id |
An ID for the message. |
Value
A message object.
Examples
# Create a message and set the ID
msg <- envelope() %>% id("1234567890.123456@example.com")
# Create a message with specified ID
msg <- envelope(id="1234567890.123456@example.com")
[Package emayili version 0.9.1 Index]