Is the email code below the Recordset?
Maybe add code before that line like:
//Attachment Entries
die(realpath('/home/abcdefg/public_html/PDF/'.$row_getRecordset1['filename']));
That will stop processing the code and write the value to the page. Does the path look correct when you do that?