jDownloadsownloads.com


Author Topic: E-mail Link For download  (Read 5430 times)

0 Members and 1 Guest are viewing this topic.

Offline rcfoultz

  • Newbie
  • *
  • Posts: 2
E-mail Link For download
« on: 05.10.2014 05:50:06 »
Hello,
    How can I give an option to e-mail the download?

I would like for people to either click the download button and download the file
or have a button below that says E-mail and the download will be created in an e-mail. Then the user can enter an e-mail address.

I have edited my layout to include a mailto but I cannot figure out how to add the download as an attachment.

Here is what I have so far.

<a href="mailto:?subject={file_title}&body={download}.">E-mail Pattern</a>
or
<a class="email" title="{file_title}" href="#" onclick="javascript:window.location='mailto:?subject={file_title}&body=Your Pattern from Knit N Purl: ' + window.location;{file_name}">Email</a>

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: E-mail Link For download
« Reply #1 on: 09.10.2014 12:05:30 »
Hi,
- the user shall click on the button and enter his e-mail address?
- after this shall be automaticly sended the required file as attachment via e-mail?

This should you not do! This would be a perfect way to attack users with many thousands files.  :o
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline rcfoultz

  • Newbie
  • *
  • Posts: 2
Re: E-mail Link For download
« Reply #2 on: 09.10.2014 16:53:55 »
Hello,
    I only want it to send the file as an attachment, only 1 file. These are pdf patterns people would like to be able to e-mail instead of download.

Offline ColinM

  • jD Tester
  • *
  • Posts: 3.640
Re: E-mail Link For download
« Reply #3 on: 19.10.2014 16:32:00 »
Hi
What Arno was saying is that if that method was adopted the unscrupulous poeple could get the information to enable them to send files to your customers!  Not a good idea
Colin

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: E-mail Link For download
« Reply #4 on: 21.10.2014 12:42:47 »
Exactly!  ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline richarddylan14

  • Newbie
  • *
  • Posts: 1
Re: E-mail Link For download
« Reply #5 on: 15.10.2015 15:26:52 »
Thanks from a newbie i got the concept