📥

Email a val

You can trigger a val to run by email. Each val has its own email address. For example you could trigger @stevekrouse.testEmail2 by emailing steverkouse.testEmail2@valtown.email. Note that the username does not contain a leading @ and that the email domain is valtown.email. You can copy a val’s email address from > Endpoints > Copy email address.

image

The val is only triggered if it is a function. The function is passed in the email parameters as the first argument to the function.

You can view all the emails sent to this function here:

Test it out yourself by sending an email to steverkouse.testEmail2@valtown.email!