Emotions are cognitive evaluations
Emotions are determined by the structure, content and organisation of knowledge representations and the processes operating on them. A machine equipped with the correct knowledge handling mechanisms, resulting in appropriate behaviour, has emotions.
Andrew Ortony, G. Clure and A. Collins, 1988.