We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I managed to get this working in my dev environment just fine, it's sending emails and works great.
Can't seem to get it working in production despite the same configuration.
On startup I get a message stating:
"warn: you don't have any notification provider plugins installed. you may want to add one to your project."
Then when i trigger an event that would have sent an email out i see the following message:
"an error occured while emails was processing a notification for order.refund_created: could not find a notification provider with id: emails"
Any ideas?
The plugin is registered like this in the config file:
{ resolve: "@rootxpdev/medusa-email-plugin", options: { templateDir: "data/emails", fromAddress: process.env.ADMIN_EMAIL, smtpHost: process.env.SMTP_HOST, smtpPort: process.env.SMTP_PORT, smtpUser: process.env.SMTP_USERNAME, smtpPassword: process.env.SMTP_PASSWORD, } },
The text was updated successfully, but these errors were encountered:
Sorry for the very late response, didn't saw the notification about this.
I would guess that https://github.com/RootXP-dev/medusa-email-plugin/blob/main/src/services/emails.ts is not properly initialized, Is there any error indicated that this indeed is an issue?
Is the ✔ Email service initialized message visible in the app logs?
✔ Email service initialized
Sorry, something went wrong.
No branches or pull requests
I managed to get this working in my dev environment just fine, it's sending emails and works great.
Can't seem to get it working in production despite the same configuration.
On startup I get a message stating:
"warn: you don't have any notification provider plugins installed. you may want to add one to your project."
Then when i trigger an event that would have sent an email out i see the following message:
"an error occured while emails was processing a notification for order.refund_created: could not find a notification provider with id: emails"
Any ideas?
The plugin is registered like this in the config file:
{
resolve: "@rootxpdev/medusa-email-plugin",
options: {
templateDir: "data/emails",
fromAddress: process.env.ADMIN_EMAIL,
smtpHost: process.env.SMTP_HOST,
smtpPort: process.env.SMTP_PORT,
smtpUser: process.env.SMTP_USERNAME,
smtpPassword: process.env.SMTP_PASSWORD,
}
},
The text was updated successfully, but these errors were encountered: