Notification of attachment without including attachment


Home Forums Front End PM PRO Notification of attachment without including attachment

This topic is: Resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12848
    STEVE
    Participant

    I’ve decided to not include the content of messages in the email notification so that users must go to the website to read the message. The email notification will just include the subject and link to the message.

    Is is possible to also let them know if the message contains an attachment with out actually forwarding them the attachment? This way they would also need to log into the site to download the attachment.

    Thanks

    #12860
    Shamim Hasan
    Keymaster

    You can create your own tag to send attachment status with email. Instruction in https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/

    #12868
    STEVE
    Participant

    Thanks @shamim but how exactly do I edit this code to send attachment status with email?

    add_filter( 'fep_eb_email_legends', function( $legends, $post, $user_email ){
        $legends['custom_tag'] = array(
            'description' => __('Description of this custom tag', 'front-end-pm'),
            'where' => array( 'newmessage', 'reply' ), //where this tag will be used
            'replace_with' => 'this will be sent in email instead of {{custom_tag}}'
        );
        return $legends;
    }, 10, 3);

    I believe I’m supposed to replace “this will be sent in email instead of” with something, but I’m not sure what.

    Also am I supposed to replace custom_tag with something of my choosing?

    Thanks

    #12875
    Shamim Hasan
    Keymaster

    This require some more code.
    I am sorry, writing custom code does not cover by our support policy.
    You can hire any developer or us to write custom code for you to achieve this functionality.

    #12881
    STEVE
    Participant

    @shamim,

    What would it cost for you to write?

    Thanks

    #12891
    Shamim Hasan
    Keymaster

    Please contact https://www.shamimsplugins.com/hire/ to get a quote.

    #12895
    STEVE
    Participant

    Done

Viewing 7 posts - 1 through 7 (of 7 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.