Page 1 of 1

Email with attachment v7.0

Posted: Tue Sep 30, 2008 2:17 am
by suresh.narasimha
Hi All

Good Evening!!

Can you help me out with some code that I can email an attachment through datastage.

Is there any other simpler way to do it in v7.0 ?

Thanks much in advance.
Suresh

Posted: Tue Sep 30, 2008 3:33 am
by ArndW
DataStage has mail sending capability within the email activity stage. DataStage will use the UNIX sendmail interface, so the question of attachments is just a matter of finding out how to do it with sendmail and then implementing that in a DataStage call.
If you add some specifics to your question you might be able to get a more detailed response on how to do this.

Email with attachment v7.0

Posted: Tue Sep 30, 2008 4:19 am
by suresh.narasimha
Hi Andrw

Im not a premium member of forum.

So if possible can you please paste the content outside ?

Thanks
Suresh

Posted: Tue Sep 30, 2008 4:55 am
by ray.wurlod
Premium membership is one of the ways that the hosting and bandwidth charges incurred by DSXchange are defrayed. There are only five premium posters. Membership is not expensive, at less than 30c (Rs12) per day. No premium memberships = no DSXchange.

It is for this reason that the premium posters will not create a precedent of bypassing the premium membership mechanism.

Get yours here today!

Posted: Tue Sep 30, 2008 6:47 am
by chulett
Talk to a SysAdmin or someone 'shell savvy' there, ask them about scripting attachments with sendmail or mailx. It will typically include the use of uuencode unless you have a client that supports attachments directly, like say 'blat'.