AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do I send email Outlook express if its not default maiil

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
pt80chip



Joined: 27 Feb 2008
Posts: 20

PostPosted: Thu May 15, 2008 10:58 pm    Post subject: How do I send email Outlook express if its not default maiil Reply with quote

Hi. I am looking to send out an email using MS outlook express. However, the default mail client on that system is MS Outlook 2003. I believe a simple mailto command will just open the default mail client. Any idea of how I would send it from a non default mail program?
Back to top
View user's profile Send private message
Guest






PostPosted: Fri May 16, 2008 12:42 am    Post subject: Reply with quote

Dude, this is an AHK support board.


hint:
Code:
if(target.href.indexOf("mailto:")==0) {
Back to top
pt80chip



Joined: 27 Feb 2008
Posts: 20

PostPosted: Fri May 16, 2008 12:55 am    Post subject: Reply with quote

I know its an AHK forum, however it seems I'm not the only one with mailto questions on here so I figured I'm prob going to find some answers. Thanks for the code, I did however use the following code considering that Outlook express has to be open anyway to send the email. I know it's not very efficient, however it'll do the job and it only took me a few minutes to write. Works for me, thanks for the help.

Code:
IfWinNotExist, ahk_class Outlook Express Browser Class
{
   Run, C:\Program Files\Outlook Express\msimn.exe
   
}

IfWinNotActive, ahk_class Outlook Express Browser Class
WinActivate, ahk_class Outlook Express Browser Class
WinWaitActive, ahk_class Outlook Express Browser Class
Sleep, 100
Send, {CTRLDOWN}n{CTRLUP}
IfWinNotActive, New Message
WinActivate, New Message
WinWaitActive, New Message
Sleep, 100
Send, xxx@XXXXXXX.com
Send, {TAB 2}Hi - %TimeString%
Send, {CTRLDOWN}{ENTER}{CTRLUP}
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group