An Albany man who tried to smuggle opioids into prison to help his recently incarcerated son has avoided jail.