Thunderbird connect succesfully to the mail server but it was not be able to send the email

OS type and version REQUIRED
Virtualmin version REQUIRED

the thunderbird connects successfully to the virtualmin mail server but it fails to send the email telling cannot connect to smtp server

thank you