- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-11-2023 01:17 AM
I want to attach the CSV file in the Playbook as an attachment to the e-mail and send it. I use Msgraph. If I send it without attachments, the mail is sent. But when I add an attachment, the mail is not sent. I'm using the following command. I tried it in the CLI and Playbook, it didn't work in both.
!send-mail subject=TRY body=TRY attach_ids=1@234(Here, I enter the EntryID of the file -File.EntryID-) to=examplemailaddress@examplepalo.com
How can I send mail with attachment?
#XSOAR
06-11-2023 05:12 PM
As SanDev says, this should be all that's required for it to work. Does the test command for your MSGraph setup complete successfully?
If you're stuck, you could try running with both the using argument (to make sure you're calling the correct email integration) and debug-mode=true argument to get some debug output which should help you understand what the problem is.
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!