I am having the script to send outlook email through python libaray win32/Automagica . The email have successfully send if i run the script in normal way(using IDE) when i try to run the same script from jenkins ,it throws "Exception: Could not launch Outlook, do you have Microsoft Office installed on Windows?"
outlook = Outlook(account_name=accountName) File "C:\Python39\lib\site-packages\automagica\utilities.py", line 41, in wrapper return func(*args, **kwargs) File "C:\Python39\lib\site-packages\automagica\activities.py", line 4186, in init self.app = self._launch() File "C:\Python39\lib\site-packages\automagica\activities.py", line 4202, in _launch raise Exception( Exception: Could not launch Outlook, do you have Microsoft Office installed on Windows?