'Is there a way to send a mail using mailto in python

I want to send a mail using mailto, other ways dont work but mailto does, i wat to automate it but i need to click send everytime, how do i fix this what ive tried

import win32api
win32api.ShellExecute(0,'open','mailto:[email protected]?subject=Hi&body=Have%20a%20nice%20day%20bro',None,None ,0)


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source