Solved

how to open email and pass in text from Oracle Forms 6i ?

Posted on 2004-04-15
2
507 Views
Last Modified: 2013-12-12
Hi,

I'd like to place a button on my Form which when pressed opens Outlook and pastes some text from the Form into the email body.

Whats the best way to do this ?

Rgds

CC
0
Comment
Question by:comradec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 6

Accepted Solution

by:
musdu earned 150 total points
ID: 10834952
Hi,

create a button on your form and copy-paste following code.

regards

--------------

DECLARE

  -- check path of your outlook.exe on your PC ! ! !
 
  vOutlookExe VARCHAR2(300) := 'C:\Program Files\Microsoft Office\Office10\OUTLOOK.EXE -c IPM.Note /m ';
  vTO VARCHAR2(100) := 'musdu@yahoo.com';
  vCC VARCHAR2(100) := 'someone@yahoo.com';
  vBCC VARCHAR2(100) := 'someoneelse@yahoo.com';
  vSubject VARCHAR2(300) := 'This is subject of my mail';
  vBody VARCHAR2(2000) := 'This is body of my mail. ';
 
BEGIN

  Host(
    vOutlookExe||
    '"mailto:'||vTO||
    '?cc='||vCC||                                                -- if you don't want a cc, comment this line
    '&bcc='||vBCC||                                          -- if you don't want a bcc, comment this line
    '&subject='||vSubject||                  -- if you don't want a subject, comment this line
    '&body='||vBody||                                    -- if you don't want a body, comment this line
    '"'
  );

END;
0
 

Author Comment

by:comradec
ID: 10840718
Thanks Musdu,

Thats exactly what I want.

Cheers

CC
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question