Using Special Characters in API Portal's SMTP Config

book

Article ID: 102708

calendar_today

Updated On:

Products

CA API Developer Portal CA API Gateway

Issue/Introduction



Can you use special characters for 'username' and 'password' in the SMTP config of Portal? (portal.conf)

Environment

Release:
Component: APIPRD

Resolution

If you plan on using special characters such as / or $, you will need to use single quotes or else upon saving the file, it will escape the values. Example:

PORTAL_SMTP_USERNAME='Test\\\\Test'
PORTAL_SMTP_PASSWORD='Test$$ca'

Please note the use of single quotes above. If not, the special characters will be chopped.

Additional Information

https://docops.ca.com/ca-api-developer-portal-enhanced-experience/4-2/en/install-configure-and-upgrade/configure-and-use-external-mail-server