This article refers to the Mail Routing feature to move a domain between Microsoft 365 tenants.
After you have submitted your configuration of Mail Routing, you can test it by using the PowerShell built-in cmdlet “Send-MailMessage”.
Open a new PowerShell console and type the following command:
<IPAddress>
Send-MailMessage -SmtpServer
<SenderEmail> -From
<EmailToTest> -To
-Subject "Test Cloudiway Mail Routing" -Body "This is a test."
<IPAddress>: Use the IP given in the help info panel on the Cloudiway platform.
<SenderEmail>: Type a valid email address for the sender.
<EmailToTest>: Type the email address you want to verify. For example, if you want to test the redirection of chloe@drypizza.com to chloe@warmsushi.onmicrosoft.com, you should use the email chloe@drypizza.com, and see if the mail is delivered into the mailbox chloe@warmsushi.onmicrosoft.com.