View source: R/learnitdown_learnr.R
send_mail_learnr | R Documentation |
Your submissions are send to a central database. However, in case that database is not accessible, the data is stored locally. This function uses your plain email to send your records. Note that, once the email is created, the local version of your records is reset. So, if you finally decide to NOT send the email, these records are lost (in this case, call your teachers to recover them, if you have to.)
send_mail_learnr(
address,
subject = "Learnr activity",
file = Sys.getenv("LOCAL_STORAGE")
)
address |
The mail address to send the data to. |
subject |
The title of the mail. |
file |
The file that contains your learnr activity information. |
In case the MongoDB cannot be reach, learnr events are stored in a local file. This function allows to submits its content through email as an alternate way to collect learnr activity.
The data are returned invisibly.
record_learnr()
## Not run:
send_mail_learnr("me\@mymail.org")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.