What to do with below error that can be shown when using the EMAILTO command.
The profile setting EMAILID is NULL
In order for the EMAILTO user command to work, the
profile setting EMAILID must be set. Example:
SET EMAILID your_email_address
As the error message shows issue appears due to missing EMAILID parm in profile settings.