WordPress.org

Forums

Email Before Download
[resolved] Email shows download link, no attachment - need attachment (10 posts)

  1. hockeyhero4
    Member
    Posted 3 years ago #

    First off, FANTASTIC plug-in. Saved me a lot of time, thank you!

    Everything is working great except for one issue: I can't get the file to send already attached to the email to the submitter. It is currently sending the download link, how do I get it to just send the actual file?

    I originally thought that I would just 'check' the box for "Attachment" under the options. When I checked that box, saved, and submitted a form, nothing happened.

    Am I missing any small details or is what I'm asking even possible?

    To clarify any minor details:

    -I am using WP 3.3.1

    -I am testing this on a brand new wordpress TEST-ONLY website. It's a fresh install and I only have the following Plug-Ins installed and activated:

    -Contact Form 7
    -Wordpress Download Monitor
    -Email Before Download

    http://wordpress.org/extend/plugins/email-before-download/

  2. mandsconsulting
    Member
    Plugin Author

    Posted 3 years ago #

    Hi hockeyhero4,

    Thanks for the nice words about our plugin,

    We have just tested the attachment feature on the fresh installation of the WordPress v.3.3.1, with exactly the same list of plugins and had no issue.
    This might be a general issue of your WordPress environment.

  3. hockeyhero4
    Member
    Posted 3 years ago #

    My sincerest apologies for not updating this post. I did find the problem!

    I am sorry you had to spend time trying to figure it out merely because I didn't follow up on here.

    The problem incurred with the SMTP of the website in question. The attachments and emails WERE sending correctly, however, the emails weren't sending out until 6-7 days later...hence why it wasn't working for me.

    Let me restate: AMAZING PLUGIN! Thank you for your hard work and follow up to my problem.

  4. hockeyhero4
    Member
    Posted 3 years ago #

    Also, within your plugin code you have commented out the ability to add a custom "Email from" input. May I ask why?

    I uncommented it and am currently, and successfully, using it. The only issue I've found is that if I change any other settings I must re-enter in my 'Email from' field or else it resets to the standard, "From WordPress."

    Small hassle to have to re-enter it each time but I figured I'd let you know I am using this hidden feature.

  5. mandsconsulting
    Member
    Plugin Author

    Posted 3 years ago #

    Hi hockeyhero4,

    Thank you for your feedback. The question you ask here was raised a few times, this is why we put it in a separate post. Please take look at http://wordpress.org/support/topic/plugin-email-before-download-from-email-address?replies=1#post-2676533
    Anyway if you find it possible to use it, you can certainly do that :) Only please keep in mind your custom changes when you update this plugin. For your information our next update has recently been released with the fix for multiple downloads.

  6. aly22
    Member
    Posted 2 years ago #

    Hi hockeyhero4 -- would you mind sharing where in the Email Before Download code you were able to change the FROM email address? I desperately need this today :) THANKS

  7. hockeyhero4
    Member
    Posted 2 years ago #

    The weird/best part is, you don't have to code ANYTHING. The code is in the programming but they've commented it out. Why have they done this...I have no idea but all you have to do is un-comment out the code.

    Okay so here's what you do:

    1. Open file "email-before-download.php"

    2. Go to line 806 and find this code:

    <!--<tr valign="top">
    		<th scope="row"><p>12. Email From</p></th>
    		<td><p><input type="test" size="40" name="email_before_download_email_from"  value="<?php //echo get_option('email_before_download_email_from'); ?>"  />
    		<br />
    		 <font size="-1"><i> If this field is left blank, the default wordpress email will be used. Use the following format:My Name <myname@mydomain.com>".</i><br />
    		  </i><br /></font>
    		</p>
    		</td>
    		</tr>
        -->

    3. At the beginning remove the "<!- -" and at the end remove the "- ->"

    4. Your code should look like this now:

    <tr valign="top">
    		<th scope="row"><p>12. Email From</p></th>
    		<td><p><input type="test" size="40" name="email_before_download_email_from"  value="<?php //echo get_option('email_before_download_email_from'); ?>"  />
    		<br />
    		 <font size="-1"><i> If this field is left blank, the default wordpress email will be used. Use the following format:My Name <myname@mydomain.com>".</i><br />
    		  </i><br /></font>
    		</p>
    		</td>
    		</tr>

    5. Upload your file back to the email before download plugin directory.

    6. You'll notice a new area for a return email in the options/settings for the plugin now.

    7. ****HUGE IMPORTANT PAY ATTENTION*** There's one small glitch with this (and could be the reason they keep it commented out) - Any time you make ANY changes to the Email Before Download settings/options, you NEED to enter the email in every time. For some reason every time you save it, it'll reset the email address back to the standard.

    Hopefully this helps! Feel free to ask any questions if you need help.

  8. aly22
    Member
    Posted 2 years ago #

    You are AWESOME! Thank you SO MUCH!

  9. aly22
    Member
    Posted 2 years ago #

    Hmmm ... ok it does come from my chosen ADDRESS but still shows "WordPress" as the account name? What did I miss?

  10. aly22
    Member
    Posted 2 years ago #

    Nevermind!! Figured it out, ... by reading the instructions ;)
    Thank you again, hockeyhero4! You saved the day!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Email Before Download
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic