Smtp configuration on lxd

Hello folks
I have lxd ubuntu container on ubuntu host. My gitlab is on lxd while I have nginx for routing to lxd
Well I am getting a smtp error while testing

Notify.test_email(‘’, ‘Message Subject’, ‘Message Body’).deliver_now
bash: syntax error near unexpected token `‘’,’

Has anyone come across this?
Looking for solution.