Get csv file in mail

Rajat 1 Reputation point
2022-06-22T06:46:27.22+00:00

I am Creating csv file after that this file I am adding in the share point document library by using (create file ) by giving .csv extension after that I am taking that item content by using (get file content ). now I am adding this get item content output as a mail attachment and sending mail but in the mail that file is unsupported.

I am not getting .csv file there please help.

Thanks

Azure Database for MariaDB
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,306 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Naglaa Hussein Abed Elhamed Mohammed 206 Reputation points
    2022-06-22T07:02:12.597+00:00
    0 comments No comments

  2. Zehui Yao_MSFT 5,821 Reputation points
    2022-06-22T10:25:55.727+00:00

    Hi @Rajat , if you are looking for the method of sending emails with attachments, the relevant methods are provided in the documentation , just add the attribute of attachments in the request body. If you have any other questions you can comment below, hope this can help you.
    213861-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.