CMN 1129 Error sending email

Pls find below my shell script which exports 2 variables ML_SUCCCESS and ML_FAIL
which has mailing distribution list populated from a value in database.
then it calls startworklflow, Im using these variables in email task
as Email User name: $ML_SUCCESS

sqlplus -s xyz/come@D01 <<EOF| read ML_SUCCESS ML_FAIL
set head off
set feedback off
set term off
set linesize 2000
set pagesize 0
select (select email_address_csl from dw_wf_mailing_list where message_type = 'SUCCESS'),
(select email_address_csl from dw_wf_mailing_list where message_type = 'FAIL')
From dual ;
EOF

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.