Viewing 8 replies - 1 through 8 (of 8 total)
  • It looks like both of your screenshots show the link to the file .. maybe you pasted in the wrong one? Regardless, I think I understand what you’re saying.

    In my CF7 form settings I don’t have the checkbox for HTML checked, so I get plain text notifications. Thus, I don’t know if this is a bug or something specific to your setup.

    I think the most likely source of the problem is the message content in the CF7 form you made. Go into the CF7 form you’re using and go to the “Mail” tab and then copy everything out of the “Message Body” box and paste it in here so I can see it. You can put xxxx in place of domains and/or email addresses if you have any in there, but don’t change anything else. If you have HTML in there then when you paste it in here you want to hit the “code” button then hit enter then paste then hit enter then hit the “/code” button so that everything pastes in without getting messed up. (all the code button does is put a backtick)

    Thread Starter ZW13

    (@zw13)

    Thank’s for taking a look!

    Yes, what we see in https://pasteboard.co/2CLZbl1u.png , https://pasteboard.co/2CM0mmE6.png are correct versions that I had till one-two weeks ago and would like having again.
    What I have now is like here: https://pasteboard.co/2EFI9VH4.png – the dowload-link at the end of the email is now missing.

    Yes, in my CF7 form the checkbox for HTML-Mailcontent is checked.

    My “Mail” tab is here: https://pasteboard.co/2EGjrEFL.png

    Here is the “Message Body” of the “Mail” tab as text:

    <br/>
    <img src="https://xxxxx.com/wp-content/uploads/2014/01/logo.png" alt="xxx" />
    <br/>
    Subject: Your download request
    <br/><br/>
    
    Name: [firstname] [lastname]<br/>
    Email: [your-email]<br/>
    Company: [company]<br/>
    Phone: [Phone]<br/>
    Country: [country]<br/>
    Newsletter: [Newsletter]<br/>
    
    <br/><br/>
    
    --<br/>
    This e-mail was sent from a contact form on xxxxxx.com (https://xxxxxxxx.com)<br/>

    No other lines follow.

    try putting: [your-message]

    into your text in the Mail tab of your CF7 form. I think that will get replaced with the download file title and link to download file

    I mean put it in the “Message Body” section of the Mail tab. Just at the bottom or in with your existing text somewhere & then try again & check it & see if it got changed to what you want

    Thread Starter ZW13

    (@zw13)

    I tested the inserted [your-message] in the “Message Body” – the mail still looks exactly the same, still no link of the download.

    By the way there is no field [your-message] in my form. Only [menu-493] (for Mr. Mrs.),[firstname],[lastname],[company],[country],[your-email] and[Phone].

    Ok, I don’t know if this will work or not, but I think it will — at least if you are configured for single-download (in other words, you’re not using checkboxes & multiple downoad_ids). You will need to edit email-before-download.php and change line 626 from:

    $mail['body']  = $mail['body'] ."\nThe downloaded file name: $title;";

    to

    $mail['body']  = $mail['body'] ."\nThe downloaded file name: $title;" . " $innerHtml";

    Thread Starter ZW13

    (@zw13)

    Hi dtynan,

    thanks for the answer. I tested it and it works. But this change will be overriden during next plugin updates becasue we just changed a core file of the plugin.
    I need a function, that I could insert into functions.php of my child theme.

    you’ll just have to remember to go make the same change again if/when they update EBD. Fortunately, they don’t update very often and the change is only one line. There’s no other way to do it that I can find…

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Admin notification email: Missing download link’ is closed to new replies.