Jump to content
Sign in to follow this  
BrettF

Open Just the Mail Client

Recommended Posts

Run(@ComSpec & " /c " & 'start mailto:author@somewhere.com?subject=Something', "", @SW_HIDE)
No, No, No. Maybe I should reword.

I want to open the defult mail program. Like say when you go 'Mail' then 'read mail' in IE.

Share this post


Link to post
Share on other sites

No, No, No. Maybe I should reword.

I want to open the defult mail program. Like say when you go 'Mail' then 'read mail' in IE.

Sorry. You needn't reword.

I must read more carefully next time :)

But this I don't know.

Maybe try to search in registry name of EXE file of your email client...

Share this post


Link to post
Share on other sites

I DID IT!!! I'll post it as a UDF Later... YAY!!!

Nice Job. I'm sure the UDF will be handy to quite a few people.


HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.

Share this post


Link to post
Share on other sites

Here is appropriate code for your UDF:

Func OpenMailClient()
    $client_name = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail", "")
    $client_exe = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\" & $client_name & "\shell\open\command", "")
    Run($client_exe)
EndFunc

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...