• Folks,

    I did some searching and experimenting in the code to analyze the problem with missing attachments in emails. The problem is probably an incorrectly commented out area.

    I see the following three lines in the class-job-notifications.php file (in the includes folder) starting at line 310:

    (HINT: MAKE A BACKUP OF THE FILE BEFORE!)

    // // Add files to attachments
    // $filepath = Job_Postings_Helper::getFilePath( $value );
    // $attachments[] = $filepath;

    Remove the initial slashes here so it looks like:

    // Add files to attachments
    $filepath = Job_Postings_Helper::getFilePath( $value );
    $attachments[] = $filepath;

    Save the file. Test it.

    Important: Please note that this change will be lost when updating the plugin in the future. Therefore please do not keep the backup of this file in the plugins folder.

    (You may give me some KUDOS with favoriting this post.. :-))

    Cheers,
    Besim

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fix for missing attachements’ is closed to new replies.