• Resolved bikash01

    (@bikash01)


    Hi,

    I have used the code below to receive attachment along with the notification emails. I have found this code snippet on one of the other related topic. I have used the code inside my theme fucntions.php file but I am still not receiving CV attachments with the email. Could you help me with this please. Thank you.

    /**
     * Job Board stuffs
     *
     * */ 
    
    // Filter to Attach HR Resume
    add_filter('sjb_hr_notification_attachment', 'custom_code_for_hr_resume_attachment', 20, 2);
    add_filter('sjb_admin_notification_attachment', 'custom_code_for_hr_resume_attachment', 20, 2);
    
    function custom_code_for_hr_resume_attachment( $resume_path, $post_id ){
    
        $fileAttachment = get_post_meta($post_id, 'resume', TRUE);
        $filePath = parse_url($fileAttachment, PHP_URL_PATH);
        return array(get_home_path() . $filePath);
    }
    

    Kind Regards,

    Bikash

Viewing 1 replies (of 1 total)
  • Plugin Author PressTigers

    (@presstigers)

    @bikash

    To figure it out, you need to look into above code in detail. We strongly suggest you that please take help from an expert programmer.

    You can also contact us at [email protected] for taking our services.

    Thanks & Regards,
    PressTigers

Viewing 1 replies (of 1 total)
  • The topic ‘How to attach cv to notification emails’ is closed to new replies.