Email attachement not found - Email does not send

First time I am adding an attachment to an email on node.js server with local Docker hosting.

Without an attachment mail sends, but adding an attachment, I get an error that attachment cannot be found. I am using the Wappler UI to add a simple pdf inside folders in the public folder. I also tried sending from a folder inside the root folder.

Wappler UI:

Code view:

Error:

Not sure if it is me or a bug…

did you url encode your filename?

Filename has spaces, so Wappler adds the %20 for the spaces.

If that is what you mean. Maybe I should change to a filename without spaces…

That might be part of your issue. I am not sure :slight_smile: You can also use the slugify formatter to save the files automatically without spaces. Maybe try a file with a simple name first…

1 Like