To set up custom smtp, head over to Business Profile > Create or edit a profile > SMTP enter your smtp details and save.

Now any invoice or estimate you send, will be send using your custom smtp.