• 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: Send to User a remote file

Send to User a remote file 5 years 10 months ago #39168

  • andrea74
  • andrea74's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 22
  • Thank you received: 1
Hi everyone,
I'm trying to send to user a file stored on external server.

So, in the "Attachments" section I flagged the field "Attach File" to "Yes" and then I put the file URL into the "Location of File to Attach" (es. link74.com/milestone-test/ultraWAVE.pdf)

But it doesn't works...

I've also try to customize the PHP Email Scripts - so I added the following PHP code into the section "Script called before the User Email is sent"

$userEmail = link74.com/milestone-test/ultraWAVE.pdf

...but it doesn't work.

It wold be seem that the function works only if the file is stored on the same server of the website (es. /srv/www/mydomains/download/myFile.pdf).

Someone can help me, please?

Thank you.
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!