Allow for dynamic domain URLS when forwarding Email Routes
for receiving emails, I want to create a catchall route that can route to a specific client site based on email address, like so:
match_recipient("(?P<user>.?)@(?P<domain>.).mysite.com")
and then in "forward" put:
https://\g<domain>.mysite.net/api/emailrecieving
This would give us infinitely less routes to maintain.
2
votes