Home › Forums › Front End PM PRO › Notification of attachment without including attachment
Tagged: attachment, email, notification
- This topic has 6 replies, 2 voices, and was last updated 7 years, 8 months ago by STEVE.
- AuthorPosts
- March 30, 2018 at 9:14 am #12848STEVEParticipant
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
March 30, 2018 at 2:59 pm #12860Shamim HasanKeymasterYou can create your own tag to send attachment status with email. Instruction in https://sp-test1.arogga.co/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/
March 30, 2018 at 9:09 pm #12868STEVEParticipantThanks @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
March 30, 2018 at 11:30 pm #12875Shamim HasanKeymasterThis 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.March 31, 2018 at 12:01 am #12881March 31, 2018 at 1:00 am #12891Shamim HasanKeymasterPlease contact https://sp-test1.arogga.co/hire/ to get a quote.
March 31, 2018 at 1:30 am #12895STEVEParticipantDone
- AuthorPosts
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.