IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Email using windows script

    Posted 08/18/14 12:24 AM

    Originally posted by: TarakN


    Hi All,

    I am running one taks for every 3 hours and want to send a email with attachments using windows script does anybody had an idea
    how to send email with attachments in windows script.

    Thanks,
    Tarak


    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 2.  Re: Email using windows script

    Posted 08/18/14 03:14 AM
      |   view attached

    Originally posted by: paul.brett


    Tarak,

    You could call the IBM WebSphere TX Command Server with the enclosed map, and the overrides as appropriate:

    "C:\IBM\WebSphere Transformation Extender 8.4.1\dtxcmdsv.exe" Example1.mmc -IF1 Attachment.zip -IF2 Disclaimer_or_Body.txt -IE3 recipient@domain.,com -IE4 sender@mydomain.com -IE5 'This is the subject line' -OAEMAIL1 '-PROTO inet -SERVER smtp.domain.com -USER user -PASS password -RAW'

    ....and as long as your servername/username/password combo is hard-coded into the output card, the email should go with your attachment.

    Let us know how you get on.

    This map could be improved.  What would you change?

    Enjoy!

    Paul Brett

    Follow me on Twitter

     


    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange

    Attachment(s)



  • 3.  Re: Email using windows script

    Posted 08/21/14 01:47 AM

    Originally posted by: TarakN


    Hi Paul,

    Thank you so very much for your anwsers and the attachment.

    I would like to send the email with attachment using windows script do you have any info on this.

    Thanks,

    Tarak


    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 4.  Re: Email using windows script

    Posted 08/21/14 03:21 AM

    Originally posted by: paul.brett


    Tarak,

    I'm afraid you're on a forum for users of IBM WebSphere TX.  It would be inappropriate for me to advise you on how to complete rudimentary tasks using 3rd party software.

    Perhaps you should log your query on a more general message board, or perhaps on one of the many dedicated Microsoft scripting boards.

    Good luck!

    Paul Brett

    Follow me on Twitter


    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender