Hi Everyone,
I hope someone can help me figure this one. From infopath, I have a transmit button that does two things (1) submit the data onto a SharePoint list and (2) sends an automatic email. I am using the following code for the automatic email:
set objOutlook = CreateObject("Outlook.Application")
set objOutlookMsg = objOutlook.CreateItem(0)
with objOutlookMsg
....
end with
The code works perfectly except for one computer. We have one person that has 2 offices with 2 different pcs. The 'transmit' button works perfectly in one PC but he couldnt get it to work properly in the other PC. With the problematic PC, each time he clicks the transmit button, it only goes through the rules to submit the data onto the SharePoint list but it skips the code (i.e. he doesnt get the 2 Outlook dialog boxes to allow communication and to confirm the automatic email).
Is there any settings in Outlook or Infopath that could cause this?
Any help or assistance is greatly appreciated.
Thank you,
Azu