This video describes the following steps:

Steps:
1. Create a file eg: emaillist.txt on the server.
2. Enter the email ids in the file separated by commas.
3. In the post session command use the command
echo "Please check the session log" | mailx -s "Session log" `cat /home/neghosh/emaillist.txt`

where

Subject is - Session log
Body of the email is - Please check the session log.

source by Informatica Support

linux smtp server