- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-13-2023 09:05 AM
Hi all,I have two tenants. One of them is called A and one is called B. I have Mail integration on tenant B. How can I run "!send-mail to= example[@]example[.]com subject=Hello body=Hello body" from tenant A to tenant B? Is it done with demisto.internalHTTPRequest()?
01-05-2024 08:07 AM
I am not sure what you are trying to accomplish by sending an email from tenant A to tenant B. Are you trying to create an incident in tenant B by sending an email from tenant A?
XSOAR does not have a built-in mailbox for inbound emails, only an outbound email address for environments that might not have any mail integration setup.
demisto.internalHTTPRequest() is Get and Post requests for supported XSOAR URL so I wouldn't think that will work since there is no URL for email.
If your goal is to create an incident in tenant B triggered by an email sent from tenant A, I would suggest to create an independent email instance in tenant B and send an email from tenant A to the instance email address in tenant B.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!