changd
changd copied to clipboard
Send email without credentials not working
Hey,
I have tried to make a test without an SMTP username and password. It didn't work for me. I'm using smtp-relay.gmail.com on port 587. I'm using an IP address access list. So, I don't need a username and password to send emails.
Hi @michael-0-1 - could you share a screenshot/log of the actual error?
This is the code where email is sent: https://github.com/paschmann/changd/blob/0350d78c4c0fd139cfd0094d56cf1787fb497974/server/db/notifications.js#L22
I'm don't see any error message in the console. Maybe I should search for them in some other place?
I see the message that changes have been found and notification will be sent.
On Thu, 27 Jan 2022, 22:37 Paul Aschmann, @.***> wrote:
Hi @michael-0-1 https://github.com/michael-0-1 - could you share a screenshot/log of the actual error?
This is the code where email is sent: https://github.com/paschmann/changd/blob/0350d78c4c0fd139cfd0094d56cf1787fb497974/server/db/notifications.js#L22
— Reply to this email directly, view it on GitHub https://github.com/paschmann/changd/issues/5#issuecomment-1023618247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVULO75ZK37ONADDHRTIL4DUYGUHTANCNFSM5M6JVQTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
@michael-0-1 - how are you running Changd? using Docker? Docker compose up? Or from the terminal?
I have tired run from docker and locally. Didn't work on both configurations.
On Fri, 28 Jan 2022, 17:20 Paul Aschmann, @.***> wrote:
@michael-0-1 https://github.com/michael-0-1 - how are you running Changd? using Docker? Docker compose up? Or from the terminal?
— Reply to this email directly, view it on GitHub https://github.com/paschmann/changd/issues/5#issuecomment-1024321313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVULO72SZLACP6K7NZARYN3UYKX37ANCNFSM5M6JVQTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
Related: how/where do I set the email credentials? I'm using Docker. In the front-end I can add a notification of type e-mail, but I am only asked for an e-mail address.