115 pts.
 snddst- in RPG
i am trying to use the SNDDST command in an RPGLE program. It works to one email (*PRI), i want to do a (*BCC) to another user but i get an errro. anyone have any code sample to do this operation? thanks

Software/Hardware used:
ASKED: December 21, 2011  9:15 PM
UPDATED: March 17, 2012  6:09 AM

Answer Wiki:
Are you properly combining the addresses is the command? If you prompt it (F4), that should set it all up for you. I don't have a BCC example, but I do have an example of sending to multiple addresses: <pre> snddst type(*doc) tointnet((user1@domain.com *pri) + (user2@domain.com *pri)) dstd('Blah + Blah Blah') msg('Yada Yada + Yada') pty(*high) + doc(&file) flr('folder') subject('sample for + ITKE') </pre> You should be able to change either of the '*pri' entries in the above format to '*bcc'. But, note that they are individually parenthesized within the 'tointnet' parenthesis!
Last Wiki Answer Submitted:  December 22, 2011  2:22 pm  by  Koohiisan   4,990 pts.
All Answer Wiki Contributors:  Koohiisan   4,990 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

thanks

 115 pts.