dbTalk Databases Forums  

Kicking off the default mail client on Windows

comp.databases.pick comp.databases.pick


Discuss Kicking off the default mail client on Windows in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ron
 
Posts: n/a

Default Kicking off the default mail client on Windows - 10-24-2005 , 01:58 PM






I have been Googling for info on how to
start the default mail client on a users
Win XP machine for a basic program. I
know it can be done but I can't find the
name of the windows program. Anyone happen
to know?

Thanks,
Ron White


http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

Reply With Quote
  #2  
Old   
Mike Wooding
 
Posts: n/a

Default Re: Kicking off the default mail client on Windows - 10-24-2005 , 03:37 PM






"Ron" <ron (AT) eckel (DOT) com> wrote

Quote:
I have been Googling for info on how to
start the default mail client on a users
Win XP machine for a basic program. I
know it can be done but I can't find the
name of the windows program. Anyone happen
to know?
Depends what you mean by the "default" program. If you mean "Outlook
Express", then you need to launch "MSIMN.EXE" (MSIMN=Microsoft Internet Mail
and News.)

However, there's a setting "Programs" tab of the "Internet Options"
(accessed either via the "Internet Options" from "Control Panel" or from
"Tools" | "Internet Options" from within "Internet Explorer") that hold the
"default" e-mail program, which can be changed by the user.

Depending on what you're trying to achieve, you could use "start
mailto:user (AT) domain (DOT) tld?subject=test" which will, depending on the default
mail client, launch the default program (as defined in Internet Options)
and take the user into a new e-mail with the relevant information filled in.

All of this assumes that the "default" program has been configured prior to
all this, otherwise they'll more than likely get a Microsoft Wizard asking
them to setup their mail profile.

HTH

With Kindest Regards

Mike Wooding




Reply With Quote
  #3  
Old   
Ron
 
Posts: n/a

Default Re: Kicking off the default mail client on Windows - 10-24-2005 , 06:22 PM



Mike Wooding wrote:
Quote:
"Ron" <ron (AT) eckel (DOT) com> wrote in message
news:1130180465_3291 (AT) spool6-east (DOT) superfeed.net

I have been Googling for info on how to
start the default mail client on a users
Win XP machine for a basic program. I
know it can be done but I can't find the
name of the windows program. Anyone happen
to know?


Depends what you mean by the "default" program. If you mean "Outlook
Express", then you need to launch "MSIMN.EXE" (MSIMN=Microsoft Internet Mail
and News.)

However, there's a setting "Programs" tab of the "Internet Options"
(accessed either via the "Internet Options" from "Control Panel" or from
"Tools" | "Internet Options" from within "Internet Explorer") that hold the
"default" e-mail program, which can be changed by the user.

Depending on what you're trying to achieve, you could use "start
mailto:user (AT) domain (DOT) tld?subject=test" which will, depending on the default
mail client, launch the default program (as defined in Internet Options)
and take the user into a new e-mail with the relevant information filled in.

All of this assumes that the "default" program has been configured prior to
all this, otherwise they'll more than likely get a Microsoft Wizard asking
them to setup their mail profile.

HTH

With Kindest Regards

Mike Wooding


That is what I am looking for. The start command.

Thanks Mike.

Ron White


http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----


Reply With Quote
  #4  
Old   
Bill H
 
Posts: n/a

Default Re: Kicking off the default mail client on Windows - 10-24-2005 , 10:57 PM



Ron:

As an alternative, if you want to use email from BASIC, you would probably
want to install IIS and start the SMTP server (don't configure and start IIS
or FTP). Once done (and the service would start upon each XP reboot), from
BASIC you would build a properly formatted email and write it to the
appropriate SMTP send directory (usually C:\inetpub\mailroot\mailbox). So
your BASIC code might look like:

OPEN 'EmailFile' to EmailFile ELSE STOP 201, 'EmailFile'
..
....build properly formatted email array
..
WRITE EmailRec ON EmailFile

and the MD for EmailFile would look like:

EmailFile
001 Q
002
003 DOS:C:\Inetpub\mailroot\Pickup

This is pretty painless is may be what you're looking for.

Bill

"Ron" <ron (AT) eckel (DOT) com> wrote

Quote:
I have been Googling for info on how to
start the default mail client on a users
Win XP machine for a basic program. I
know it can be done but I can't find the
name of the windows program. Anyone happen
to know?

Thanks,
Ron White

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+
Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption
=----



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.