Smitro Posted September 16, 2008 Share Posted September 16, 2008 I'm looking for some information... I'd like to make a mail client that can be used as the default mail client. Basicly the scope of my project is that I'd like my users to be able to be able to click on "Mailto:" links in Internet explorer and for it to open up a browser window at a set address, this will be a compose window for them to send there email. My question is, how do I get the first step of this working to have it as an option to be a default mail client. Then the next step would be how do I make the "To" address into a variable that I can use. thanks in advance Link to comment Share on other sites More sharing options...
AzKay Posted September 16, 2008 Share Posted September 16, 2008 http://www.pctools.com/guides/registry/detail/1263/Is that any help? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Smitro Posted September 16, 2008 Author Share Posted September 16, 2008 Brilliant! thank you, that's all I needed, I found the rest while experimenting. Link to comment Share on other sites More sharing options...
Smitro Posted September 17, 2008 Author Share Posted September 17, 2008 AzKay, Do you have more where that came from? It seems that this is not the ultimate fix for everyone. I compiled my program and got it working on my computer I then went to another computer, changed the exact same setting (using the same script) and it didn't work. On looking into it further it seems like there is something in the registry around here: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail But, I can't seem to find any more information on it. Any ideas on where to look? Link to comment Share on other sites More sharing options...
ptrex Posted September 17, 2008 Share Posted September 17, 2008 @SmitroMaybe this can get you going.DefaultEmail client on WindowsRegards,ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Smitro Posted September 17, 2008 Author Share Posted September 17, 2008 thanks ptrex, but that only talks about how to set it within a program, I need to go deeper, I need to know how to make such an option in my program. Link to comment Share on other sites More sharing options...
anixon Posted September 18, 2008 Share Posted September 18, 2008 (edited) AzKay,Do you have more where that came from? It seems that this is not the ultimate fix for everyone. I compiled my program and got it working on my computer I then went to another computer, changed the exact same setting (using the same script) and it didn't work. On looking into it further it seems like there is something in the registry around here: HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail But, I can't seem to find any more information on it. Any ideas on where to look?I use this code to read registry for the default Email ClientConst $DefaultClient = "outlook" ;Required Email ClientConst $EmailClient = StringRight(RegRead("HKLM\SOFTWARE\CLIENTS\MAIL", ""), 7) ;Default Mail ClientIf $DefaultClient <> $EmailClient then Msgbox(0,"Test",Default Email Client for this System IS " & $EmailClient",5)EndIfExitThis system check works in both Windows XP SP3 and Windows Vista SP2. You may find that the default email client string is stored differently Vista compared with Windows XP that is why I strip the value back to "outlook" using StringRight. Cheers Ant.. Edited September 18, 2008 by anixon Link to comment Share on other sites More sharing options...
ptrex Posted September 18, 2008 Share Posted September 18, 2008 @Simtro -> Mailto: will trigger most of the times a local Email CLIENT software like Outlook (or Express). But that is not what you want if I read your request. You want to open a browser page that contains a Email form, correct ? So you are on ther wrong track here using mailto: You should be using the IE.AU3 UDF to jump to the HTML page that contains the Email form. Regards ptrex Contributions :Firewall Log Analyzer for XP - Creating COM objects without a need of DLL's - UPnP support in AU3Crystal Reports Viewer - PDFCreator in AutoIT - Duplicate File FinderSQLite3 Database functionality - USB Monitoring - Reading Excel using SQLRun Au3 as a Windows Service - File Monitor - Embedded Flash PlayerDynamic Functions - Control Panel Applets - Digital Signing Code - Excel Grid In AutoIT - Constants for Special Folders in WindowsRead data from Any Windows Edit Control - SOAP and Web Services in AutoIT - Barcode Printing Using PS - AU3 on LightTD WebserverMS LogParser SQL Engine in AutoIT - ImageMagick Image Processing - Converter @ Dec - Hex - Bin -Email Address Encoder - MSI Editor - SNMP - MIB ProtocolFinancial Functions UDF - Set ACL Permissions - Syntax HighLighter for AU3ADOR.RecordSet approach - Real OCR - HTTP Disk - PDF Reader Personal Worldclock - MS Indexing Engine - Printing ControlsGuiListView - Navigation (break the 4000 Limit barrier) - Registration Free COM DLL Distribution - Update - WinRM SMART Analysis - COM Object Browser - Excel PivotTable Object - VLC Media Player - Windows LogOnOff Gui -Extract Data from Outlook to Word & Excel - Analyze Event ID 4226 - DotNet Compiler Wrapper - Powershell_COM - New Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now