Hi, In my opinion, it would be better to implement REST WebServices instead of implementing a hack on JS side.
Sebastien Le Lundi, Décembre 12, 2022 18:05 CET, "Gabriel Thornhill" ([email protected]) <[email protected]> a écrit: Hi, I have a question about integrating Sogo and a web application we have running on the same Linux box, I hope somebody in the list can provide a few tips about how to accomplish this task.We've implemented SSO so that Sogo doesn't need to ask for username/password if the user is logged in the application. The web application can generate pdf reports, so we would like to give the users the chance to email those reports using Sogo. For that, we need to implement the following: _ the application saves the pdf file in /tmp directory _ The application has a link that opens a new tab in the client browser and calls Sogo (/Mail//UIxMailPopupView?), passing as parameters the pdf file name, the target and subject of the email _ Sogo reads the pdf from /tmp directory and adds it as attachment to the email, and also populates the recipient and the subject (at this point the user should see the new email popup window with the fields To and Subject populated and with the pdf attached) What would be required in Sogo (both backend and Angular client) to get this requirement implemented? Thanks and regards
