I setup Squidex in local using the docker-compose file provided by Squidex. I added my SQUIDEX_GOOGLECLIENT with client id and SQUIDEX_GOOGLESECRET with client secret from https://console.developers.google.com/apis in my .env file.
Then I restarted the docker-compose, and add a new contributor with an email address. But I did not receive any email.
Is this happening because I ran an application in my local?
Can you have a look to the administration section? There is a menu item with event consumers and you should see and entry with “Invite” or so. If there is a bug icon it has failed.
Oh sorry my bad, I forgot to map environment variables in docker-compose file. Not I am getting the bug icon with message.
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn more at
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
at System.Net.Mail.MailCommand.EndSend(IAsyncResult result)
at System.Net.Mail.SendMailAsyncResult.SendMailFromCompleted(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)
at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
at Squidex.Infrastructure.Email.SmtpEmailSender.SendAsync(String recipient, String subject, String body) in /src/src/Squidex.Infrastructure/Email/SmtpEmailSender.cs:line 75
at Squidex.Domain.Apps.Entities.Apps.Notifications.NotificationEmailSender.SendEmailAsync(String template, String emailSubj, String emailBody, IUser user, TemplatesVars vars) in /src/src/Squidex.Domain.Apps.Entities/Notifications/NotificationEmailSender.cs:line 128
at Squidex.Domain.Apps.Entities.Apps.Invitation.InvitationEventConsumer.On(Envelope`1 event) in /src/src/Squidex.Domain.Apps.Entities/Apps/Invitation/InvitationEventConsumer.cs:line 109
at Squidex.Infrastructure.EventSourcing.Grains.EventConsumerGrain.DispatchConsumerAsync(Envelope`1 event) in /src/src/Squidex.Infrastructure/EventSourcing/Grains/EventConsumerGrain.cs:line 258
at Squidex.Infrastructure.EventSourcing.Grains.EventConsumerGrain.<>c__DisplayClass15_0.<<OnEventAsync>b__0>d.MoveNext() in /src/src/Squidex.Infrastructure/EventSourcing/Grains/EventConsumerGrain.cs:line 96
--- End of stack trace from previous location where exception was thrown ---
at Squidex.Infrastructure.EventSourcing.Grains.EventConsumerGrain.DoAndUpdateStateAsync(Func`1 action, String caller) in /src/src/Squidex.Infrastructure/EventSourcing/Grains/EventConsumerGrain.cs:line 213
I did check this thread: User invitation emails not sending, and have all the configuration params same as well. But the thread ended in the middle of the conversation.
Also the error message from the consumer is also different.