View Full Version : E-MAIL BUTTON
alibaba
08-26-2002, 05:36 AM
It must be easier way to create an E-Mail Button , what I am doing is first create a web browser object with mailto command,then hide it on page show.And on the Button mouse click action show(object web browser) then sleep for 1 second, otherwise it does not open outlook,then webbrowser object "nawigate to" mailto+email adress.
It works but I end up with 2X Outlook Express send mail windows.
Is there any other way?????
Derek
08-26-2002, 08:26 AM
HI - dont use the browser object.
Use File.Open and in the filename field:
mailto:whomever
I use: mailto:myaddress.com?SUBJECT=Some Subject Text
That way, i can filter/parse out the incoming e-mails to a separate action folder if desired.
At first I used %SrcDir% & the mailto: but that didn't work ;-(
Decided it was supposed to be ONLY the mailto: thing :-)
HOWEVER...what similar nifty trick might you have to open an IE web browser with a predefined URL in it???
Tnx.
Eric
Lorne
08-26-2002, 05:08 PM
Use the same action ("File - Open") and put the URL in the "File to open" field, e.g. http://www.indigorose.com
Tnx, but it is asking me for a Document Name. How to get this to open ANY kind of Web Browser since I will not know exactly where it is located on their hard drive???
Eric
unknown user
08-26-2002, 06:07 PM
Searching takes too long, I like to use the FILE > GET DEFAULT VIEWER to figure out their default .html viewer and then use a FILE > EXECUTE to launch that viewer...
Derek
08-26-2002, 07:16 PM
just a thought I had about default viewers .. altho it *may not* be quite the same with html ...
Sometimes, a program unsuitable for a particular file type maybe reg as the default program to open it (as apposed to viewer) ie:
UltraEdit-32 opens a lot of text based file types (configuration permitting), but would not be good in some cases. Just something to keep in mind.
I tried to edit my post two times but it would not work ;-(
Found just putting the URL in worked ok, and pulls up IE which is the only browser on this machine. Not sure what would happen if several browsers (like I have IE plus NS on my notebook). Guess I'll have to burn an interim CD and go test it out :-)
Tnx.
eric
Colin
08-26-2002, 08:32 PM
It'll use the system's default browser. Basically whatever is associated with .htm or .html files.
Colin:
Which method??? I'm not sure which you were referring to.
Tnx.
Eric
alibaba
08-27-2002, 04:09 AM
Thank you guys, I also used first %SrcDir% mailto: which confused me.
but just mailto works fine.
Derek
08-27-2002, 07:19 AM
Eric - Colin was refering to the following:
"Not sure what would happen if several browsers (like I have IE plus NS on my notebook)"
.... "It'll use the system's default browser. Basically whatever is associated with .htm or .html files."
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.