US and Worldwide: +1 (866) 660-7555
Results 1 to 2 of 2

Thread: Passing a variable in name of email attatchment possible?

  1. #1
    Join Date
    Jun 2009
    Posts
    3

    Question Passing a variable in name of email attatchment possible?

    Hi guys,

    I have a xaction file to generate report monthly which be saved in a shared directory and sent by email. To distinguish the file I define a variable via js and pass it to the file name.

    It works fine by saving the report in directory but doesn't function by sending the email.

    I tried to use <variable name> and {variable name} to specify the attachtment name like the following code:
    Code:
    <attachment-ref name-param="attach_name_1" input-param="berichtmailpdf"/>  
    <attach_name_1><![CDATA[newreport_for_<month>.pdf]]></attach_name_1>
    or
    Code:
    <attachment-ref name-param="attach_name_1" input-param="berichtmailpdf"/>  
    <attach_name_1><![CDATA[newreport_for_{month}.pdf]]></attach_name_1>
    Both of them don't work.

    Has anybody ein idee?

  2. #2
    Join Date
    Jun 2009
    Posts
    3

    Default

    no one knows?
    thanks for any help!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •