Correct errors in testsendemailfromcnf args

a copy and paste error resulted in the same parameter being used over
and over again. corrected to retrieve the correct ones.