• I have form with a Drop Down Menu where I want to send an autoresponder mail where the attachment in the autoresponder mail is based on the selection made by the user in the drop down.

    In other words if a user selects item1 in the drop down the pdf for item1 should be attached in the autoresponder mail sent to them. I have 7 different items. Can i do something similr with your plugin?

    A user has to select 1 item and will receive a mail containing an attachment for the chosen item.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You can’t do that, but you can pretty close. You can display a single form (name & email address or whatever) and you can associate multiple downloads with that form. The website visitor will see a list of your downloads with a title for each one that you set. Each download will be listed on its own line & next to it will be a checkbox or a radio button. The visitor selects which files he wants (he can select multiple files if checkboxes, otherwise just one of the ones listed if radio button). He fills in the form & hits submit. Then, depending on what settings you choose, one of the following things happens:
    a link (or links if multiple files checked) to the download file is displayed just underneath the form the user submitted (the webpage is updated in place) and the user can click the link (or links) to download the file (or files). a thank-you message is also displayed.
    an email is sent to the email address the visitor typed into the form. that email contains a link (or links) to the download. or the email can have the download(s) attached. or the email can contain both links & attachments
    or a combination of both things above — the page is updated with links & an email is sent to the visitor

    In all cases, an email is also sent to you (the website administrator) notifying you that someone filled in the form & what they downloaded.

    Thread Starter pyro2509

    (@pyro2509)

    Hi dtynan,

    Thank you for the feedback. I have a DB plugin installed for contact form 7. Will all this data be written to that DB as well? And is there a guide to the pugin or a tutorial somewhere to download so I can achieve what you have suggested above. I think a radio button version would suffice. Will all the radio buttons be underneath on another or can I put them in 2 columns?

    Thread Starter pyro2509

    (@pyro2509)

    Hi dtynan,

    MY form is working, but I want to know if the following is possible.

    1. I want to add some text in the mail sent to the client – it currently has only a link to the download in there, but also an attachment. In the settings I put in quite some text, but it’s not pulling through. And it says the mail comes from WordPress. I want it to have the company name in the subject or the file name.

    2. What css can I use to turn the link that appears on the bottom of the form to turn it into a button? It currently is very small orange text.

    Thank you for your time and the awesome plugin.

    Thread Starter pyro2509

    (@pyro2509)

    Hi dtynan,

    My requests are getting shorter, I’m figuring out most of the things. I want to make the Email subject the name of the file. Currently I have “Your [files] infopack is here.”

    Then I also want the From to show the company or File name. It now shows WordPress

    On the From field:

    The “From” of the email that gets sent to the website visitor’s email address (which he typed into the form when it displayed on your page) can be set using either the Postman SMTP plugin or the Custom Sender For Email Before Download plugin.

    Note that you must make the From be an actual real, valid, email address that matches your domain name. It needs to be a real email address (like set up where it could actually receive mail — usually you do this in the cpanel control panel that your web hosting company provides). If it is not a real email address with your domain name on the end then lots of email providers (like gmail, yahoo mail, etc) will silently throw the email away when it shows up (like it doesn’t even make it to the spam folder).

    On the Subject line:

    So you have that “Your [files] infopack is here.” in EBD setting #11 (or maybe it’s #12, can’t remember). What’s happening when the email arrives? Is [files] still in there or did it put something else in there?

    Just guessing, I think you might try editing your download in download monitor and put some text in the “Title” field — I think that might get substituted in for the [files] thing, though I’m not certain.

    If that stuff doesn’t help, or you have further questions, please post a link to your page, the shortcode you’re using, and set it to “both”, so I can see what’s going on. It’s too difficult for me to answer that many questions without seeing where you’re at…

    Thread Starter pyro2509

    (@pyro2509)

    Hi dtynan,

    https://latest.cptpropertymarket.co.za/

    The subject and sender is showing correctly not. Thanks for that. It’s just the text in the message body shows the following:

    Hello [your-name] [your-surname], Please see the info pack for [files] that you requested attached to this mail.

    Sincerely,
    Cape Town Property Market

    I’ve also tried [requesting_name] as your plugin suggested. Could the problem be that Name and Surname are seperate fields? If it’s too much effort, then I’ll just change the scripting. You’ve already helped me so much, I really appreciate your advice.

    Your CF7 form has the field names “first-name” and “last-name”. EBD doesn’t know what those are. It only knows “your-name”.

    So, when the visitor fills in the form & hits submit EBD sends an email to him and it would normally put the value of “your-name” that the visitor typed in into the [your-name] placeholder that you put in the email template. But, EBD doesn’t have a value for [your-name] because you didn’t put a [your-name] in your CF7 form template. Additionally, [your-surname] is not something EBD understands, so that will never display anything in the email (it’s not a valid placeholder in the email template in the EBD settings). Unfortunately, EBD only has the your-name, so it doesn’t really have a good way to have a firstname & a lastname. You can put those fields in the CF7 form and the visitor can type that stuff in, but it won’t make it into the email, nor will it be stored in the “name” field in the database (which shows up when you export a CSV file).

    Therefore, you probably want to remove [your-surname] from your email template, since that will never work. Then, you probably want to modify your CF7 form and change “first-name” or “last-name” to “your-name” (or get rid of both and just do a single your-name).

    As for [files], that only works in Settings #11 in the EBD settings. In Setting 9.1, the email template, you instead have to build the link yourself using [file_url] and [file_name]. There is an example of how to do that in the help text under 9.1.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dynamic Email Attachment’ is closed to new replies.