Error when trying to open attached pdf in notification mail