• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Variable attached file to user email

Variable attached file to user email 6 years 11 months ago #38160

  • andrea74
  • andrea74's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Thank you received: 1
Hello,
I would like to attach a file to User Email, but I need to use a "variable" location file depending on a form field.
For example:
/srv/www/mydomain.com/download/{filename:body}.pdf

where "filename" field contains the name of the file.

it does not seem to work properly.
Is it possible to do it?
Thank you.
The administrator has disabled public write access.

Variable attached file to user email 6 years 11 months ago #38165

  • adrianp
  • adrianp's Avatar
  • OFFLINE
  • RSJoomla! Official Staff
  • Posts: 631
  • Thank you received: 146
Hello,

Assuming you do store the exact file name only on your field choices values, the placeholder you're looking for would be the following instead:

{filename:value}
This is not official customer support. To receive your support, submit a support ticket here.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!