Hello ,
I try to open the e-mail through my Delphi application.
It works fine if my default mail is MicrosoftOutlook , it just open
e-mail composer only.
If my default mail is netscape(version 4.79) the Netscape browser and
two e-mail composer also open, if it is netscape(version 7.0) the
Netscape browser and one e-mail composer also open. If the netscape
browser is already opened in my desktop before I run my application the
application open only one e-mail composer, in this case it work fine.
I want to open only one e-mail composer with any circumstance.
Here is my sample code,
var
command:string;
.
.
Command := 'mailto:tata@yourmail.com?subject='+'Test';
ShellExecute(0, nil, PChar(Command), nil, nil, SW_SHOWNORMAL);
Can any one help me?
Thank you very much.
Premi
I try to open the e-mail through my Delphi application.
It works fine if my default mail is MicrosoftOutlook , it just open
e-mail composer only.
If my default mail is netscape(version 4.79) the Netscape browser and
two e-mail composer also open, if it is netscape(version 7.0) the
Netscape browser and one e-mail composer also open. If the netscape
browser is already opened in my desktop before I run my application the
application open only one e-mail composer, in this case it work fine.
I want to open only one e-mail composer with any circumstance.
Here is my sample code,
var
command:string;
.
.
Command := 'mailto:tata@yourmail.com?subject='+'Test';
ShellExecute(0, nil, PChar(Command), nil, nil, SW_SHOWNORMAL);
Can any one help me?
Thank you very much.
Premi