snddst- in RPG

115 pts.
Tags:
AS/400 email
RPG ILE
RPGLE
SNDDST
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

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!

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • rmb
    thanks
    115 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following