How to configure SMTP as per company?
Company wise you can setup SMTP configuration
For this go to Setup --- .Company ---> Select company and Edit it ---> Scroll down and add the details then click on Submit button.
Here you can also test whether emails are sent or not.
Company wise you can send an email to your customer for billing and non billing purpose.