Forward-Email

I thought I could use @valtown.email like a forwarding email.

Remix from https://www.val.town/x/pomdtr/inbox

How it works

  1. Press Remix to put it in your project.
  2. Set the Email trigger in main.tsx.
  3. 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)
  4. If you receive an email to your registered email address in Val Town, you've succeeded!

Note

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