Skip to content
New issue

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

NodeMailer debug/logs #2253

Closed
msj121 opened this issue Jun 28, 2023 · 2 comments
Closed

NodeMailer debug/logs #2253

msj121 opened this issue Jun 28, 2023 · 2 comments
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@msj121
Copy link

msj121 commented Jun 28, 2023

Having issues connecting nodemailer (ie: mailplugin) to outlook365. Is there a way to get output from the nodemailer connection and sent emails? I have put:

            transport:{
                type: 'smtp',
                host: 'smtp-mail.outlook.com',
                port: 587,
                secure:false,
                // secureConnection: false,
                // service: "outlook",
                auth: {
                   user: "user",
                   pass: "pass"
                },
                tls: {
                    ciphers: 'SSLv3',
                    rejectUnauthorized: false
                },
                logging: true,
                debug: true
            }

I don't see any logs in npm run dev though. Is there an argument I might be missing? Thanks.

@msj121 msj121 added the type: bug 🐛 Something isn't working label Jun 28, 2023
@msj121
Copy link
Author

msj121 commented Jun 28, 2023

It appears that "devMode:true" must be removed... I did not realize that... have been working on transport layer and I didn't get any heads up. Even just a comment in the vendure-config would be a good idea imo. Will put a simple PR if you'd like.

@michaelbromley
Copy link
Member

Thanks for bringing this up. I'll add a warning log if devMode is set to true and a transport is also defined. Hopefully that should save people the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants