HOW TO INVOKE OUTLOOK EXPRESS NEW MAIL [message #82143] |
Mon, 28 April 2003 23:39 |
Nancy
Messages: 19 Registered: March 2002
|
Junior Member |
|
|
Hi,
i have a button in my form called
HELP. When the user clicks on that button, outlookexpress 's new mail should get opened with my e_mail address in the TO coloumn. I am getting outlookexpress opened. But not the new mail with my e-mail address. Can anyone help me?It is very urgent.
Thanks
Nancy
|
|
|
Re: HOW TO INVOKE OUTLOOK EXPRESS NEW MAIL [message #82145 is a reply to message #82143] |
Tue, 29 April 2003 00:26 |
|
Maaher
Messages: 7065 Registered: December 2001
|
Senior Member |
|
|
You can invoke Outlook Express by using the host command. But be careful, it is not very dynamic. You'll have to make sure that all users have a default installation of outlook express.
Here's a code snippet I once used (but it was for a sort of "session manager" I only used, so I could afford to hard-code the location of Outlook Express.
--
-- Procedure to create email messages to the selected user.
--
DECLARE
v_subject VARCHAR2(2000);
v_body VARCHAR2(2000);
BEGIN
v_subject := 'Here comes your subject';
v_body := 'Here comes your message';
HOST('"C:Program FilesOutlook ExpressMSIMN.EXE" /mailurl:mailto:'||:PARAMETER.email_address||'?subject='||v_subject||'&body='||v_body);
END;
HTH,
MHE
|
|
|