An Arizona man has been sentenced to over seven years in prison after mailing fentanyl from Arizona to Dubuque.