
Prerequisites
Verified Domain
Make sure you have a verified domain added in AutoSend to send emails from.
API Key
Create a new API key for SMTP authentication or use the existing one.
Configuration
1
Open Descope Connectors
- Go to your Descope Console
- Navigate to Connectors in the sidebar.

2
Search SMTP Connector
- Search for SMTP
- Click the SMTP card to create a new SMTP connector.

3
Enter SMTP Credentials
Fill in the following settings:

| Field | Value |
|---|---|
| Connector Name | AutoSend (or your preferred name) |
| Server Hostname | smtp.autosend.com |
| SMTP Port | 587 |
| Username | autosend |
| Password | Your AutoSend API key (AS_xxx) |
| Sender Address | [email protected] (must match your verified domain) |
| Sender Name | Your app name (e.g., “MyApp”) |

4
Test Configuration
Click the Test button to verify your SMTP configuration is working correctly. Check the Test Results panel for success or error details.

5
Save Connector
Click Create to save your SMTP connector.
6
Use in Authentication Flows
- Navigate to Flows in Descope
- Select or create your authentication flow
- Add a connector action where email sending is needed
- Select your AutoSend SMTP connector
- Configure the email recipient (typically
{{user.email}})
Dynamic Values
Descope supports dynamic values in sender fields using template syntax:- Sender Address/Name: Use
{{options_<value>}}format for dynamic sender configuration - Recipient: Set the
Tofield dynamically with{{user.email}}
Troubleshooting
Emails not being sent
Emails not being sent
- Verify your SMTP credentials are correct
- Check that your sender email domain is verified in AutoSend
- Ensure the sender address matches a verified domain
- Check Descope connector test results for specific errors
Authentication failed
Authentication failed
- Double-check your API key is correct
- Ensure you’re using
autosendas the username - Verify your API key is active in the AutoSend dashboard
Connection errors
Connection errors
- Verify the hostname is
smtp.autosend.com - Try using port
465with implicit TLS if port587fails - Check if your network blocks outbound SMTP connections
Emails going to spam
Emails going to spam
- Ensure your domain has proper DNS records (SPF, DKIM, DMARC)
- Use a professional sender name, not just “noreply”
- Check your domain reputation in AutoSend