Final answer:
Pam dated a salesman named Danny Cordray from another company who later joined Dunder Mifflin as a traveling salesman in the TV show The Office.
Step-by-step explanation:
The salesman Pam dated before she married Jim and who later joined Dunder Mifflin as a traveling salesman is named Danny Cordray.
Danny was introduced in the series The Office, which is a popular mockumentary sitcom that depicts the everyday work lives of office employees at Dunder Mifflin's Scranton, PA branch. He first appeared in Season 7 and was known to be a successful salesman whom the Dunder Mifflin staff saw as a competition before he was hired as part of their sales team.