If you did not inform the Smiles number at the time of purchase of your ticket, you can still apply for retroactive credit up to 6 months as of your flight date. And you can also request it from non-air partners.
Want to know more? See question 10 of the item "Mileage Accrual."