Description Usage Arguments Value Examples
Function is a wrapper for mailR::send.mail() function. Function gets its mail settings from mailsettings.R file in the [TriggerPath]
1 2 |
path |
string, top level folder called the [TriggerPath] |
subject |
string, subject text of the message |
body |
string, body text of the message |
html |
boolean, use HTML or plain text. |
authenticate |
boolean, use authentication for SMTP sign-in |
debug |
boolean, option to turn on mailR debugging |
... |
additional options to pass through to mailR::send.mail() |
message to be sent to mobile email client.
1 2 3 4 5 6 7 8 9 10 11 12 | ####################################################
# Send Message with Moble Triggers #
####################################################
# the function internals will call your mailsettings
# from the mailsettings.R file in your trigger root folder
TriggerMSG(path = 'c:/triggers',
body = "hello world",
subject = "Script List",
html = F, authenticate = T
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.