Really, they are both fine, although I think "It will be a pleasure to meet you" is more common. However, after having met someone, I would say, "It was a pleasure meeting you."
These are small points where really it is the courtesy of your sentiment that matters.