Can you use special characters for 'username' and 'password' in the SMTP config of Portal? (portal.conf)
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:
Please note the use of single quotes above. If not, the special characters will be chopped.