> Source: [sk144712](https://support.checkpoint.com/results/sk/sk144712)

# sk144712 - How to enable SMTP authentication or TLS-SMTP for DynamicID

| Property | Value |
|----------|-------|
| Solution ID | sk144712 |
| Date Created | 2019-01-28 |
| Last Modified | 2019-07-25 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Solution

Dynamic ID with SMTP server that requires user name and password for authentication is supported only from R80.20.

* Authentication without TLS (will default to port 25):  
  mail:TO=$EMAIL;SMTPSERVER=smtp://**username** :**password** @**smtp.server.address** ;FROM=**sslvpn@example.com**;BODY=$RAWMESSAGE

* Authentication with TLS on default port 25:  
  mail:TO=$EMAIL;SSL_REQUIRED;SMTPSERVER=smtp://**username** :**password** @**smtp.server.address** ;FROM=**sslvpn@example.com**;BODY=$RAWMESSAGE

* Authentication with TLS on default port 465:  
  mail:TO=$EMAIL;SMTPSERVER=smtps://**username** :**password** @**smtp.server.address** ;FROM=**sslvpn@example.com**;BODY=$RAWMESSAGE

* Authentication with TLS on custom port:  
  mail:TO=$EMAIL;SSL_REQUIRED;SMTPSERVER=smtp://**username** :**password** @**smtp.server.address** :**port** ;FROM=**sslvpn@example.com**;BODY=$RAWMESSAGE

**NOTE** : Username and Password can not contain special characters like the **@** symbol. They require to be URL Encoded. For example if the username is sslvpn@example.com the string should be sslvpn%40example.com.

**Related solutions:**

* [sk113164 - Mobile Access Dynamic ID does not support SMTP authentication or TLS-SMTP](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk113164) (Pre R80.20)

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
