Title: Wrong emails being sent
Last modified: September 1, 2016

---

# Wrong emails being sent

 *  [mconant](https://wordpress.org/support/users/mconant/)
 * (@mconant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/)
 * I am lost!
    I have downloaded and activated the following:
 * Contact Form 7 latest version
    Download Monitor – latest version Email before
   Download – latest version Postman SMTP – latest version
 * I followed the rather poor instructions for EBD. What I did:
    1. Created a form
   in CF7 which has only name and email fields 2. Filled in the “Message” option
   on CF7 3. Set up EBD to just Email and updated those fields (have since just 
   made it anything to just test getting the actual email) 4. Uploaded a file to
   DM 5. Updated an existing WP page with the DM and CF7 short codes as instructed
 * What Happens?
    The form shows up fine. When I hit send, I get an email sent to
   me (me being an email address for testing this not my admin).
 * The problem is, what I get is the email from CF7 set up. NOT the message from
   EBD. So EBD is not involved in this operation at all. In fact, it may be useless?
   I can add the URL of the download to the message in CF7 and maybe have the same
   effect??
 * Very confused !!
 * [https://wordpress.org/plugins/email-before-download/](https://wordpress.org/plugins/email-before-download/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [mconant](https://wordpress.org/support/users/mconant/)
 * (@mconant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-7671495)
 * Sorry that should be I updated the MAIL tab in CF7 not Messages (I updated that
   also but it is not relevant for this discussion.
 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-7671652)
 * If you select ’email’ or ‘both’ then EBD will send 2 emails out.
 * One of the emails goes to the email address that you put in the To: field in 
   the Mail tab of the CF7 form that you made. I call that email the “notification
   email”. The email lists what was downloaded by the website visitor, but it does
   not contain any links that you can click on to actually download the files. Typically
   people put the wordpress admin email address into the To: field, so the notification
   email goes to the admin.
 * The other email is sent to the email address that the website visitor typed into
   the form when he visited your website. By default, that email will contain a 
   link (or links) to download the file (or files) that you made available. The 
   user can click on the link to download the file. Note that if you had selected
   to attach the file(s), then it would be attached to the email. The link will 
   be in the text of the email unless you made your own email template in the EBD
   settings (which I think is like 9.1 or 9.2 or something like that). If you made
   your own template then you have to make sure you put in that keyword to make 
   the link appear (which I think is [files_urls] or [files_url] or something like
   that).
 * Because most folks already have WordPress set up and working and able to deliver
   email to the WordPress admin, the notification email (the 1st email I detailed
   above) usually gets delivered just fine. The second email, however, often does
   not arrive. Usually the email provider (gmail, yahoo, etc) blocks it because 
   it looks like spam. Normally it looks like spam because it has been sent from
   a shared-hosting provider and the envelope gets some weird email address associated
   with the operating system rather than a good valid email address that matches
   your domain. To fix that you probably want to install Postman SMTP plugin. That’s
   what most people on here use. Alternatively, you can install a plugin called 
   Custom Sender for Email Before Download and then set your From: in there (note
   that you may have to reset it and resave it if you modify your EBD settings ..
   not sure if that’s true for others, but I have to).
 *  Thread Starter [mconant](https://wordpress.org/support/users/mconant/)
 * (@mconant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-7671669)
 * Thanks much for your response. To clarify, one of plug ins I listed as installed
   is the Postmaster SMTP plugin so no problems with emails being sent.
 * In my case, the actions are happening just opposite to what you describe. The
   email that should contain the download is going to the admin email and the email
   from GF7 is going to the customer email (email put in the form.
 * So, I changed the CF7 so the To address is the admin and indeed admin now gets
   the “hey a customer downloaded a file” email (new message I created to go with
   the change). That part works.
 * Now, I get no email going to the customer email. The CF& form always works no
   matter where I direct the To: field to go. It is EBD part that does not work.
 * And, this may be dense on my part, but I see no link whatsoever between EBD and
   CF7. There is nothing in EBD that says hey use CF& form xyz for input.
 * I can just use CF& and DM and send the file to the form recipient without ever
   using EBD. So what am I missing here??
 *  Thread Starter [mconant](https://wordpress.org/support/users/mconant/)
 * (@mconant)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-7671670)
 * You probably figured that I was slow in removing my finger from caps for 7 in
   CF7 and used & instead.
 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-7671782)
 * Ah, ok, I should have read your original posting more closely. It looks like 
   step #5 in your list of steps is not correct. Sounds like you are using the CF7
   shortcode on your page perhaps? You don’t need that shortcode. Nor do you need
   one for Download Monitor. You need the EBD one.
 * When you make your CF7 form, CF7 gives you a shortcode. Don’t use that shortcode.
   However, you do need the ID number from it (the form ID). You’ll put that number
   in the EBD shortcode.
 * When you upload your file into Download Monitor it will be assigned an ID number.
   You need that number, but you don’t need any shortcode related to Download Monitor.
 * The form ID number and the download ID number will be used in an EBD shortcode.
 * See the third screenshot on this page for an example of an EBD shortcode (obviously
   you would change the contact_form_id number to be your form ID and change the
   download_id number to be the ID number of your download):
    [https://wordpress.org/plugins/email-before-download/screenshots/](https://wordpress.org/plugins/email-before-download/screenshots/)
 *  [sprad001](https://wordpress.org/support/users/sprad001/)
 * (@sprad001)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-8460676)
 * I have the same problem as mconant and I put the correct shortcode, [email-download
   download_id=”642″ contact_form_id=”257″], in the page and I do not get the email
   for user that requests the download.
 * The email from EBD is not coming through. I installed and correctly configured
   Postman SMTP as well and the email still does not come through from the EDB only
   from the CF7 part email arrive, as before.
    I also have all the latest versions
   installed.
 * By the way, thanks dtynan for the explanation how EBD works. I think that explanation
   should be part of the EBD page to eliminate a lot of the confusion.
 * I hope someone can point me to the right direction
 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-8466175)
 * sprad001 — please open a new item and put your description into the new item.
   Also, please include a link to your page so I can try it. Do not update this 
   item further or I won’t see it…
 * (wordpress.org now sorts the support items by the datetime they were opened rather
   than the last update, so when you update old items like this I usually miss the
   updates now .. just happened to run across this one by chance)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Wrong emails being sent’ is closed to new replies.

 * ![](https://ps.w.org/email-before-download/assets/icon-256x256.jpg?rev=1813522)
 * [Email Before Download](https://wordpress.org/plugins/email-before-download/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-before-download/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-before-download/)
 * [Active Topics](https://wordpress.org/support/plugin/email-before-download/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-before-download/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-before-download/reviews/)

## Tags

 * [wrong email](https://wordpress.org/support/topic-tag/wrong-email/)

 * 7 replies
 * 3 participants
 * Last reply from: [dtynan](https://wordpress.org/support/users/dtynan/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/wrong-emails-being-sent/#post-8466175)
 * Status: not resolved