Support » Plugin: Email Before Download » Remove email from Inbox

  • Hey there,

    First of all thanks for the plugin it works great. I am using it with Contact form 7 and the mail chimp extension for contact form 7.

    The issue that I am facing is that every time someone uses the form to download my content I have an email under my sent items of my gmail account.

    Is there a way I can remove it so I do-not have an email as a sent item?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmmmm. I’m not quite sure how that would happen … maybe your wordpress is setup to use your gmail account as your SMTP server (meaning wordpress would use your gmail account to send mail out)?

    I think your best bet is just to Filter it using the Gmail filter capability (ie log in to your gmail account via a web browser and then go to your Sent folder and pull up one of those emails and then choose to Filter Messages Like Those and you will get into the filter-rule creation interface and it will have taken a guess as to how to filter those out … just be careful you ONLY filter those out and not other stuff in SENT that you want to keep in there. I’d probably create some Label and then use the filter to move those emails out of Sent and over to that new label … that way you can go inspect them later or if too much stuff gets moved over then you can try to fix it).

    If you don’t want to do the gmail filter thing then you -might- be able to stop it by editing the CF7 form you made that you’re using for EBD and then change the From: on it to be something else [like not you] … no telling what that will do though.

    hey @dtynan , I tried the filter, and It works for incomming emails but not outgoing ones.

    Let me elaborate the issue to shed some light.
    There are actually three emails at play here.

    The first email that gets send to the user which has the download conent link.
    The second email is the one that I get form contact form 7 which is in my inbox.
    The third email is the second email as a send item.

    While typing this reply I found that I have the from field in contact form 7 as my gmail address.

    I think that might be the reason for this. I did it so that when any one receives my email the from field should be my email rather than

    Is there any way I can clear up my outgoing mail. I have the imcoming mail organised with filters.


    Now I understand.

    EBD always sends at least 1 email, which I call the “notification email”. That email is supposed to go to the wordpress admin (you) to let him know that someone has visited the website and has downloaded the download file by filling in the EBD form & hitting submit. That email does not go to the website visitor — it’s just for you, so that you know something happened. Note that that email does NOT have a link to the download file. Instead, it just has the name of the download file that was downloaded (or multiple files if your form allows that) and is just to let you know something happene. That email is configured by way of the email settings in the Contact Form 7 form you created. In your case, you set the From: and the To: of that email to be your gmail address. You should change the From: of that email to something else, which will keep it from appearing in the Sent folder of your gmail account (normally it is set to something like where is whatever your domain name is).

    If you selected ’email’ or ‘both’ (rather than ‘inline’) in the EBD Settings, then EBD will send a second email. That email goes to the email address that the website visitor typed into the form on your webpage when he visited your website (which is normally the visitor’s email address & could be anything really). That email DOES normally contain a link to the download file. You don’t see this email because it goes to whatever email address the visitor typed in. Note that there is no way to control the From: of this email in the normal EBD Settings, which is usually a problem because the From: will get set to something goofy. You need to use the Postman SMTP plugin or the Custom Sender For Email Before Download plugin in order to set the From: value of this email. And, you should do that, because many email providers (Yahoo mail, etc) will silently throw the email away if the From: is not a valid email address for your domain name. So, aside from installing one of those plugins, you also may need to create an email address in your web hosts menus.

    So to recap, you need to:
    1. Edit your CF7 form and change the From: to
    2. Install one of those two plugins (unless you are already using a different SMTP plugin)
    3. If needed, create an email account in your web hosting provider’s cpanel or whatever menu system they have, so that you have a email address to use.
    4. Use your SMTP plugin or that Custom Sender plugin to set the From: value to the email address you just created.
    5. Go make a new email address on Yahoo Mail or some other mail provider. You’ll use this email to test with. Once you make it, then use your browser & visit your webpage with the EBD form in it. Put your new Yahoo email address into the form & hit submit. Now, you should get two emails — one email will be the notification email and it will go to your gmail account (and it will have a From: of so it will only appear in your Inbox and not in your Sent). The other email will go to the Yahoo email address & it will have a link to download the download file. If you get both emails then you are in good shape.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove email from Inbox’ is closed to new replies.