Flight Crew Multiengine; Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument
Flight Crew Last 90 Days 70; Flight Crew Total 4612; Flight Crew Type 336
Situational Awareness; Human-Machine Interface; Communication Breakdown
Aircraft Equipment Problem Less Severe; Deviation / Discrepancy - Procedural Clearance
Air Traffic Control Issued New Clearance; Flight Crew Overcame Equipment Problem
Aircraft; Human Factors
I received my departure clearance over the phone with Approach prior to takeoff. I was released to depart Runway XX and climb to 5;000 ft.  Upon contacting Departure on climb out and giving my position and altitude the Controller asked me what airport I departed.  I told him ZZZ. The Controller then informed me that my filed flight plan was for ZZZ1.  I'm not sure how ZZZ1 got into my flight plan but it appears he was correct.  I was given a phone number and called it as soon as I landed. Later in the day when I landed back home in ZZZ; I got a call from ForeFlight and they told me another person's info had somehow be entered into my iPad and was causing some problems.  I'm not sure if that was the cause of the wrong airport or unrelated.  My ForeFlight account was fixed and seems to now be working ok.
Pilot reported departure airport error due to ForeFlight airport information being incorrect.