Attaching a CSV File to the Mail Attachment

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Attaching a CSV File to the Mail Attachment

L2 Linker

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

2 REPLIES 2

L2 Linker

It should work. Have you seen if you have more files? Like "File.[0].EntryID"

L3 Networker

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.

  • 1294 Views
  • 2 replies
  • 0 Likes
  • 31 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!