No Confederate states successfully cast electoral votes in the 1864 election. But two did try and got rejected by Congress.
The two states — Louisiana and Tennessee — both went for Lincoln, so the outcome was unchanged. Some electoral maps you will find both in books and online will show these states. Some won’t. But none includes them in the final vote total.
Keep in mind that the 1864 election happened relatively late in the war. Most of Louisiana, Arkansas and Tennessee were under Union control to the point that debate had begun about how to bring them back into the Union.
Lincoln advocated a relatively low bar for them to rejoin the Union and regain their representation (the right to vote and to place representatives in Congress). Congress collectively pushed back on Lincoln and wanted a higher bar.
Lincoln backed a 10 percent plan — that the Rebel states could rejoin Congress and have representatives seated if they could get 10 percent of white males in their state to pledge loyalty to the Union.
Congress rejected this and settled on the Wade-Davis bill, which required 50 percent pledged loyalty as well as a series of other measures including the abolition of slavery in the state. (The Emancipation Proclamation already had achieved abolition in these areas in law if not reality, so this was less agreeing to abolish slavery and more the state recognizing that slavery was abolished.)
There are some questions I cannot answer that perhaps better people on here can. None of the books I have on hand explain the specifics of who voted in those states if anyone. In fact, two of my books have popular vote totals by state but leave those two out in terms of popular vote. Also, I don’t have any resources that give more than a passing mention of the invalidation of these states’ electors, so I cannot tell you if there was debate about it or how spirited it was.
I will add that if you do not know how the electoral college physically works, there is no central national meeting. Electoral votes are cast at the individual state capitals and the results are delivered to Washington. I assume based on the vague information I have that both Louisiana and Tennessee actually went through the process of meeting and sending results to Washington. Otherwise, we wouldn’t have their rejected results. But again, none of the books I have on hand address those details.
I hope someone with greater expertise weighs in on here for you, but if they don’t, I hope this gives you a little bit of an answer.