You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -X POST https://api.forwardemail.net/v1/encrypt \
-d "[email protected]"
But when using regex matching for $1, it tries to use a shell variable expansion instead of as a literal $1. I would suggest using 'single quotes' instead - otherwise after a few minutes it bounces with an 'invalid "forward-email" TXT record due to an invalid regular expression email address match>'.
curl -X POST https://api.forwardemail.net/v1/encrypt -d 'input=/^(alias1|alias2)$/:[email protected]'
Checklist
I have searched through GitHub issues for similar issues.
I have completely read through the README and documentation.
The text was updated successfully, but these errors were encountered:
Describe the feature
In the https://forwardemail.net/en/email-api#encrypt sample, it suggests
But when using regex matching for $1, it tries to use a shell variable expansion instead of as a literal $1. I would suggest using 'single quotes' instead - otherwise after a few minutes it bounces with an 'invalid "forward-email" TXT record due to an invalid regular expression email address match>'.
Checklist
The text was updated successfully, but these errors were encountered: