$_ENV used in mailer not resolving properly

Wappler Version : 3.9.4
Operating System : mac
Server Model: node
Database Type:
Hosting Type: custom

Expected behavior

Using an $_ENV in the password of a mailer should resolve properly

Actual behavior

I receive an error indicating the authentication is invalid.

How to reproduce

Setup a mailer action (eg. Sendgrid) and use an environment variable for the password:

Troubleshooting performed:
I setup an api action to output the value of $_ENV.SENDGRID_KEY

And executed the api:
Screen Shot 2021-04-08 at 8.15.30 AM

If I put the key directly into the password field of the mailer, rather than through a variable, the email is sent fine, which indicates they api key is valid.

Here an update. Unzip the file in lib/core.

app.zip (3.7 KB)

Fixed in Wappler 3.9.5

This topic was automatically closed after 2 days. New replies are no longer allowed.