Gerry 0 Posted June 9, 2011 Hi All I am using _INetSmtpMailCom() to mail some of our clients from a terminal server session. I have copied WAB.exe in the same folder as the script and added some of our clients email addresses to the addressbook in the same folder. My Gui will open a To field and a Cc field The Cc field I have an Ini which has all the account managers email addresses listed, a copy of the mail I'm sending goes to them in caae a client enquires about the email he has received. The To field opens the Windows address book but the user has to copy and paste the clients email address from the address book to the To field manually. I'm hoping to do it like Outlook Express does it but I don't have the faintest idea on how to achieve this. I'm including my code which works but need some help on how to get the address book function to work properly. Any help or suggestions would be appreciated. GerryFile Mailer.au3 Share this post Link to post Share on other sites
water 2,387 Posted June 9, 2011 Don't know if it helps but searching google with "access windows address book wab visual basic" returned:A DLL to access the WAB from visual basic: http://www.locati.it/michele/kwab/Microsoft MSDN - WAB Interface: http://msdn.microsoft.com/en-us/library/ms629361%28v=VS.85%29.aspx My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2020-10-10 - Version 1.5.2.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX (NEW 2020-12-15 - Version 1.6.3.1) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2020-06-27 - Version 1.3.2.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - WikiTask Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - WikiTutorials:ADO - Wiki, WebDriver - Wiki Share this post Link to post Share on other sites
Gerry 0 Posted June 9, 2011 Thanks for your response I had a look at this but I think this is a bit over my head but I will try to make sense of it. LOL Gerry Share this post Link to post Share on other sites