Skip to contents

Check that the provided value is a character string and can reasonably be assumed to an email. This is a simple, non-comprehensive check and is in no way meant to be the final say of whether or not your email meets the regex check. However, in order for users to get feedback and/or success/failure messages on data submissions to the EPHT it is imperative that the correct email be supplied.

Usage

check_submitter_email(submitter_email)

Arguments

submitter_email

Email of person submitting data to EPHT.

Value

list containing exit status code and success/failure message

Examples

check_submitter_email("myemail@email.com")
#> $code
#> [1] 0
#> 
#> $message
#> Success: submitter_email
#>