How to Download a File With an Email Address in Joomla?

How to Download a File With an Email Address in Joomla?

Collecting email addresses in exchange for a downloadable file (ebook, PDF, white paper, etc.) is a commonly accepted marketing practice today. In this tutorial, I will explain you how to set it up very simply and for free with Joomla.

If you've designed and written (or plan to do) an ebook or a white paper on a topic that you are familiar with, it's most likely to make it available to people who are looking for that kind of content. Offering this digital file in exchange for an e-mail address allows you to build a leads qualified database that you can use later.

This marketing technique is really very easy to implement with Joomla since you only need this tutorial and a single extension - which is also free - to set up the collection of emails from interested people by the content of your digital file. Let's go!

AcyMailing, the best marketing tool for Joomla

Created, developed and maintained by a French team based in Lyon, AcyMailing is undoubtedly one of the most downloaded components of the Joomla eco-system. Its international success is well deserved and its frequent updates testify to Acyba's dynamism in maintaining his leadership in this area.

AcyMailing documentation

1. Install AcyMailling

AcyMailing is available in several versions (free and paid) and to carry out this tutorial, we will only need the Starter version which is free. Another good news, this version is directly installable from the Joomla backend:

Installation AcyMailing backend Joomla

Here we are, AcyMailing Starter is installed in few steps and we are ready to go.

2. Create a list in AcyMailling

Now that AcyMailing is installed, we will create our first list of subscribers. This list will only be dedicated to people who want to download our digital file.

To create it, we just have to indicate the name and the description of this list.

Création liste abonnés AcyMailing Joomla

Once we've clicked the Save button, we can create our welcome email. This welcome email is an automatic email sent by Acymailing when a user register to a list. In this tutorial, this message is very important because it will contain the download link which registrants must click to receive their digital file.

On this screen, we can create our welcome email. Several models are available by clicking on the From button that we can modify to adapt it to our design and to add the file download link.

Création e-mail bienvenue AcyMailing Joomla

When we are done customizing our welcome email, we can save our entry. Our list is now ready to receive our subscribers!

Finalisation liste abonnés AcyMailing Joomla

3. Create the registration form

Now, all we have to do is create the registration form that our future subscribers will use to indicate their email addresses. For this, we will use the AcyMailing subscription form module which was installed at the same time as the component.

In the Joomla module manager, we select this module and we setup it like this:

Paramètres module AcyMailing Joomla

The important point here is to select the list that we've created previously so that users receive their welcome email when they register. Next, we assign our module to the pages and the template position we want it to appear on. Once the entry is complete, we save it.

If you only want to have the input field and the button (to place them anywhere in your site, for example), you can override the AcyMailing subscription form module.


Here is an example of the implementation of this very simple (but very effective) technique to retrieve email addresses while respecting the opt-in rules. On this link you can see how I applied this method and you can even test it.

Download Joomla white papers

Live test


This tutorial is really very easy to apply and you have no excuse not to put it into practice today on your site.

Please feel free to comment on this tutorial below if you have any questions or comments.
Happy downloads with Joomla!

Daniel Dubois

Daniel Dubois

Passionné par le Web depuis 2007, Daniel défend la veuve et l'orphelin du web en créant des sites respectueux du W3C. Fort d'une expérience de plusieurs années, il partage ses connaissances dans un état d'esprit open source.
Très impliqué dans la communauté Joomla depuis 2014, il est actif au sein de plusieurs projets, conférencier et fondateur du JUG Breizh.