Public
Like
ForwardEmail
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
I thought I could use @valtown.email
like a forwarding email.
Remix from https://www.val.town/x/pomdtr/inbox
- Press Remix to put it in your project.
- Set the Email trigger in main.tsx.
- Try sending an email to the displayed email address.
(At this time, I recommend that you use an email that is not the registered email address of Val Town) - If you receive an email to your registered email address in Val Town, you've succeeded!
https://www.val.town/x/std/email#from
The display of from:
can be improved.
but it is a fixed format. (Browse code comment)
Therefore, by default, from:
is put in reply-to:
.
https://docs.val.town/vals/email/#custom-email-address
You can set up a custom email address
https://docs.val.town/vals/email/#custom-email-address
Emails have a 30MB limit
Email