We present measurements of elliptic flow (v2) of electrons from the decays of heavy-flavor hadrons (eHF) by the STAR experiment. For Au+Au collisions at sNN=200 GeV we report v2, for transverse momentum (pT) between 0.2 and 7 GeV/c, using three methods: the event plane method (v2{EP}), two-particle correlations (v2{2}), and four-particle correlations (v2{4}). For Au+Au collisions at sNN=62.4 and 39 GeV we report v2{2} for pT