This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Download link in emails


  1. sloganmedia
    Member

    Hi Yuniar,

    When i send copy of my form via email (through "email field") the download link file doesn't show up, only send the plain text and not link.

    how i can fix this?

    Posted 15 years ago #
  2. redityo

    Hi ..

    May I know what download link you provide in your e-mail ? is it images or file ? and do you checked "Send e-mails in simple text format Info" options in e-mail menu ?

    maybe you have to check that one first and make sure the e-mail not goes to "junk folder"


    MachForm Support

    Posted 15 years ago #
  3. sloganmedia
    Member

    Hi

    I send you a link to image that explain the problem: http://www.sloganmedia.com/tmp.gif

    Posted 15 years ago #
  4. yuniar

    Nice image!

    The download link is indeed being removed for non-admin email.
    If you need it to be displayed on all of your email, try editing your includes/helper-functions.php file, search around line 262 for this code:

    if($target_is_admin === false){
      $options['strip_download_link'] = true;
    }

    remove those code.


    MachForm Founder

    Posted 15 years ago #
  5. sloganmedia
    Member

    Bad news, it does not work :(
    nothing happens.

    Posted 15 years ago #
  6. yuniar

    oops.. sorry, my bad. wrong file.
    This one should be working, edit your includes/post-functions.php file, search around line 1161:

    $user_email_param['target_is_admin'] = false;

    change it to:

    $user_email_param['target_is_admin'] = true;

    MachForm Founder

    Posted 15 years ago #
  7. sloganmedia
    Member

    It's working!

    Thank you very much, yuniar.

    Posted 15 years ago #

RSS feed for this topic

Reply