How to use mailx command to send emails to multiple recipients in PowerCenter

Опубликовано: 28 Сентябрь 2024
на канале: Informatica Support
14,995
29

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.