Using the SNDDST command to send an e-mail from the iSeries

Tags:
PC/Windows Connectivity
Tyrone wrote in with this question recently: How can I use the SNDDST command to send an e-mail from the iSeries? -- Deb Tart, associate editor
1

Answer Wiki

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

I have a scheduled job that runs at lunch time to tell my buddy that it’s time for lunch 🙂 it uses the SNDDST. It is local email though. So it doesn’t send the email externally, but it may help so here is goes.
SNDDST TYPE(*DOC) TOUSRID((USRPRF SRLNBR)) DSTD(‘TIME FOR LUNCH’) MSG(‘OK, CRAIG … IT”S TIME FOR LUNCH’) DOC(LUNCHTME.TXT) FLR(TEMP)

Best regards,

Vince

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.
  • Jgsnsbt
    The technique mainly depends on what's your mail(smtp)-server. Just give a short reply and we can get deeper in that, because we already lost a lot of time configuring it.
    30 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.

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

Following

Share this item with your network: