I have written a program which opens a .oft file from shared drive and puts desired email id in TO field and can edit the subject field as well. But at the end when the mail gets Displayed, my default signature always get added. Now I am going to deploy this script to multiple users and the mail does not need to have a user's signature as the template already has a groups signature predefined.
I already search and found that there is no mail.Signature in Outlook by which it can be modified.
import win32com.client as win32
outlook = win32.Dispatch('outlook.application')
mail = outlook.CreateItemFromTemplate(r'\\Server\Share\Folder\maial.oft')
mail.To = 'someone@exapmle.com'
mail.Subject = 'Test'
mail.Display(True)
Is there any way by which I can restrict outlook to add the default signature in the mail using python ?