What should I exactly say to a person when another person asks me to say hello or hi to that person I know? I'm always confused every time.

Name the person first. X asked me to say "Hello" to you.

Sra