Hello,

I need to open default email client.

my (not worked) code:

use Win32::API;
my $ShellExecute = new Win32::API( "shell32", "ShellExecuteA", [ 'N', 'P', 'P', 'P', 
'P', 'I' ], 'N' );
$ShellExecute->Call( 0, "open", "mailto:[EMAIL PROTECTED]" , 0, 0, 1 );

what is wrong here?

btw it works if I change mailto:[EMAIL PROTECTED] to http://bla.com and
launch default web browser. I thought is should do the same with
"mailto:"; link but it dont.

thanks

-- 
Best regards,
 Pavel                            mailto:[EMAIL PROTECTED]

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to