I have been trying to direct the user to the default mail app on pc (or have the user select the mailing app they want) then open the app to send a mail with an attachment already included.
I tried mailto and webbrowser explained here: Python: launch default mail client on the system They work but it is not possible to add attachments automaticaly by these methods anymore. I read it is removed due to some safety issues. Or maybe I could not find how to do that.
I managed achieving what I wanted by using pywin32 with outlook. But it requires the user to have outlook on their pc and not everyone has that.
I dont wanna use something like smtplib, I just want to use whatever mail app there is on the user's PC or possibly somehow direct them to gmail by using chrome or whatever. I want the user to enter their own passwords to the directed app if they were not already logged in. Cannot put any type of passwords into the code.
I could not find any solutions aside from using outlook which is limiting. Is there anything I can do?