Sending mail from docker container

I am trying to send an email using sendmail service inside the docker container…
But when I send an email the email gets queued in mailq and is the deferred. What could be the possible reason for this ?

PLEASE HELP !!!