send_mail_learnr: Send your learnr submissions by email

View source: R/learnitdown_learnr.R

send_mail_learnrR Documentation

Send your learnr submissions by email

Description

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.)

Usage

send_mail_learnr(
  address,
  subject = "Learnr activity",
  file = Sys.getenv("LOCAL_STORAGE")
)

Arguments

address

The mail address to send the data to.

subject

The title of the mail.

file

The file that contains your learnr activity information.

Details

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.

Value

The data are returned invisibly.

See Also

record_learnr()

Examples

## Not run: 
send_mail_learnr("me\@mymail.org")

## End(Not run)

SciViews/learndown documentation built on Sept. 17, 2024, 8:06 a.m.