Skip to content

Support STARTTLS for Sending Invitation Emails - SMTP #6983

Open
@Karaval

Description

@Karaval

Is your feature request related to a problem?

I get an error in when sending invitation links

Describe the solution you'd like

I'd like an option to enable starttls as it seems to be the issue here.
Emails for alerts are properly sent using the same configurations .

Describe alternatives you've considered

Currently copying the links and sending them manually .

Additional context

Add any other context or screenshots about the feature request here.

Here the error that I get when trying to send an email.
{"level":"ERROR","timestamp":"2025-01-30T09:07:08.664Z","caller":"auth/auth.go:251","msg":"failed to send email","error":"504 5.7.4 Unrecognized authentication type [DUZPR01CA0022.eurprd01.prod.exchangelabs.com 2025-01-30T09:07:08.713Z 08DD40ACCF694CA8]","stacktrace":"go.signoz.io/signoz/pkg/query-service/auth.inviteEmail\n\t/home/runner/work/signoz/signoz/pkg/query-service/auth/auth.go:251\ngo.signoz.io/signoz/pkg/query-service/auth.Invite\n\t/home/runner/work/signoz/signoz/pkg/query-service/auth/auth.go:112\ngo.signoz.io/signoz/pkg/query-service/app.(*APIHandler).inviteUser\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/http_handler.go:1952\ngo.signoz.io/signoz/pkg/query-service/app.(*APIHandler).RegisterRoutes.(*AuthMiddleware).AdminAccess.func68\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/auth.go:120\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/pkg/query-service/app.LogCommentEnricher.func1\n\t/home/runner/work/signoz/signoz/pkg/query-service/app/server.go:404\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.loggingMiddleware.func1\n\t/home/runner/work/signoz/signoz/ee/query-service/app/server.go:399\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.(*Server).analyticsMiddleware-fm.(*Server).analyticsMiddleware.func1\n\t/home/runner/work/signoz/signoz/ee/query-service/app/server.go:569\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.setTimeoutMiddleware.func1\n\t/home/runner/work/signoz/signoz/ee/query-service/app/server.go:601\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngithub.com/gorilla/mux.(*Router).ServeHTTP\n\t/home/runner/go/pkg/mod/github.com/gorilla/[email protected]/mux.go:212\ngo.signoz.io/signoz/ee/query-service/app.(*Server).createPublicServer.(*Cors).Handler.func2\n\t/home/runner/go/pkg/mod/github.com/rs/[email protected]/cors.go:289\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\ngo.signoz.io/signoz/ee/query-service/app.(*Server).createPublicServer.CompressHandler.CompressHandlerLevel.func3\n\t/home/runner/go/pkg/mod/github.com/gorilla/[email protected]/compress.go:141\nnet/http.HandlerFunc.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2171\nnet/http.serverHandler.ServeHTTP\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:3142\nnet/http.(*conn).serve\n\t/home/runner/go/pkg/mod/golang.org/[email protected]/src/net/http/server.go:2044"}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions