Attachments in dssmtpmail.exe

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
tbrosi
Premium Member
Premium Member
Posts: 7
Joined: Thu Mar 10, 2005 9:45 am

Attachments in dssmtpmail.exe

Post by tbrosi »

We use dssmtpmail.exe to send an email to a list of users and want to
attach a file.
Does anybody know how this works?

At the moment we use ther parameter -message follwoed by the file name.
In this case the content of the file is sent as email body.

We want the file to be attached in the body.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There are example routines supplied with DataStage that show how to do this. Take a look at them.

What exact version of DataStage are you using?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You could also look into blat as a replacement emailer, it's a pretty cool open source utility with much more functionality.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply