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
Azure Database for MariaDB
An Azure managed MariaDB database service for app development and deployment.
55 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,004 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,856 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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.