I don't have an iPad or iPhone but I DO have both a smart phone and a Nook Color which is also a tablet now like the Ipad. Even though mine use Google operating systems and not Mac, the basics are still the same, When you download an app, you allow the app maker access to parts or all of your info stored on the device. I doubt if you have a virus but the app probably used your info to send out the spam. Both Google and Apple try to keep apps like this out of the market but, as BobP said, some WILL sneak by. Do you have any kind of antimalware program on the iPad? I just Lookout Mobile security for mine. They have a version for Macs as do a number of others. Most have both free and aid versions.
Just like with a computer, you have to be careful what you download and just because it is in the Apple Market does not guarantee it is safe. The user is the best protection.
<span id="INSERTION_MARKER">I downloaded an app from Apple Store in our Ipad2. <span>
<span>This app was intended to check Hotmail from an Icon, instead of browse to www.hotmail.com in Safari.
<span>
<span>The application downloaded without issue, installed and I was able to check email.
<span>
<span>Slow, I don't like it. App was removed in a minute.
<span>
<span>5 minutes later, I received an email in my company corporate email from my hotmail account with spam data. My wife received another spam email from my hotmail account as well.
<span>
<span>I inmediately changed my hotmail password and notice in the sent items folder tons of emails this Ipad app sent to all my hotmail contacts.
<span>
<span>Is this a virus? How Apple allow this in the Apple Store? I supose Apple engineers check all apps in Apple Store before allow users to download it.
<span>
<span> Is not Apple secure at all now?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic