Skip to content

Could not locate mail body #68

@XnachO

Description

@XnachO

I made an example project to illustrate the issue that I'm facing in other project.

The problem is that I cannot send emails based on gsp views when I run the app from the war artifact.

When I run the app with ./gradlew bootRun, the mail is correctly delivered.
But when I build the war artifact and then run it, I get the following error:

ERROR --- [nio-8080-exec-1] com.example.EmailService : Could not locate mail body /email/auth/verificationCode. Is it in a plugin? If so you must pass the plugin name in the [plugin] variable

The project is located here: https://github.com/XnachO/grails-6-mail-plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions