Drain for A-Coil? I had a new furnace and steam pump installed about 6 months...

I had a new furnace and steam pump installed about 6 months ago. The furnace was placed within a large closet area surrounded by the middle of the house. The HVAC guys ran the drain from the A-Coil down into the crawl space and stopped it there. Is this code? Are they allowed to in recent times let it drain into the crawlspace? I am trying to figure out if I want to call them back to finish it.
HVAC Tech.: That will depend on what code (if any) is in your area. That said, your part removes over 5 and as much as 18 gallons of water from the air every sunshine. It would be better to put it in a city drain. A call to your local city building inspector can answer this request for information. Without knowing where you are, it is pretty tough for us. Codes vary according to where on earth you live.
NO THIS ISN'T CODE
you don't want moisture emptying under your home
your house will wick the sea and that will lead to other problems
CALL THEM BACK the line should stop none short of the exterior wall
upright of you to trust your noggin
Answers:    This is not a big problem - it in recent times needs taken care of.
In defense of the HVAC guys, remember they did do everything they be supposed to do, however they probably did not have a place to drain the pan. You cannot other run it into the sewer line, this is against code some places.
They could have run a flexible line or cvpc line out the foundation.
You don't want that marine in your crawl space. Ask them to come back and assist resolve the problem. Tell them you understand they did not have much choice where on earth to run it, but you need their expertise in coming up next to a better solution.
Sometimes, a little compliment on the job they did, and for a time sense of helplessness on your part - will result within a quick and nominal cost fix.
What you do want is for that line to enjoy a trap in it. If not sewer gas,bugs,etc., can crawl back up that drain chain.
Sometimes companies never get a " thanks for a suitable job" statement at the end of a job. That way a lot to those of us in the construction business.
they did an acceptable job.