I did an experiment in the lab where I mixed different carboxylic acids with different alcohols.
My question is: Does any combination produce an ester?
For example I used propan-1-ol as the alcohol and heptanoic acid as the carboxylic acid. Does this produce propyl heptanoate?
And I also used a secondary alcohol, propan-2-ol, and methanoic acid. Does this produce 2-propyl methanoate?
My reason for asking is that it seems too easy to just conclude that an ester was produced, especially since not all the esters smelled good. The first example (propyl heptanoate?) smelled weakly of alcohol, and the second example (2-propyl methanoate?) smelled nearly nothing.
Thanks