" I sent her a postcard. " ( ' her ' is the pronoun in dative case ) because " I sent her " is not a complete sentence that you need an object ' a postcard ' to form a complete sentence.
dative = the form of a noun, a pronoun or an adjective when it is the indirect object of a verb or is...