quiet-painting-32952
11/28/2024, 12:29 AMbrief-egg-61061
11/28/2024, 12:29 AMbrief-egg-61061
11/28/2024, 12:29 AM<smtp://username:password@smtp.gmail.com:587/>
Make sure to URL encode your username and password. For example: <smtp://your.email%40gmail.com:your_app_password@smtp.gmail.com:587/>
5. If you're still experiencing issues, double-check that you've allowed less secure apps to access your Google account, or preferably, use the App Password method mentioned above. [Use a custom server to send Ory Identity messages to users](https://www.ory.sh/docs/kratos/emails-sms/sending-emails-smtp) provides more detailed information on configuring SMTP settings in Ory. If you continue to face problems after trying these steps, you might want to check the [Email Delivery dashboard in the Ory Console](https://www.ory.sh/docs/kratos/emails-sms/sending-emails-smtp#troubleshooting) to see if there are any specific error messages that could provide more insight into the issue. Remember, for security reasons, it's always better to use App Passwords for SMTP authentication with Gmail, especially when setting up third-party integrations like this.quiet-painting-32952
11/28/2024, 12:35 AMbrief-egg-61061
11/28/2024, 12:35 AMbrief-egg-61061
11/28/2024, 12:35 AM<smtp://username:password@smtp.example.com:587/>
Make sure to URL encode your username and password if they contain special characters, as mentioned in the [Invalid SMTP courier URL format troubleshooting guide](https://www.ory.sh/docs/troubleshooting/smtp-courier-OTA-112022-01). If you encounter any issues or need to verify your configuration, you can use the Ory CLI to check the SMTP settings as described in a [GitHub issue comment](https://github.com/ory/network/issues/212#issuecomment-1416150443): shell ory get identity-config {project-id} --format jsonpath="courier.smtp"
This command will show you the current SMTP configuration for your project.sparse-cricket-59561
11/29/2024, 3:17 AM