If(Toggle1.Value=true,
Office365Outlook.SendEmail(
"Distribution List A",
"Subject ",
Body),
Office365Outlook.SendEmail(
"Distribution List B",
"Subject ",
Body))
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.