Lotus notes send email over internet

Hi,I have 2 lotus notes server - 1 is a mail server and the second one is an application server. I want to stop using the mail server completely. For the time being the application server is sending mail to local lotus notes account. The application has a scheduled agent. I want the application to send the email over internet since the same email address exist already on Office365.

Please let me know what change must be done. Should I just change Mail system to Other Internet Mail and add Forwarding address on address book?

Thanks to help