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
Solved

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

Posted on 2004-04-15
2
504 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Retreiving column names in Windows but not in Unix 11 58
Oracle encryption 12 48
format dd/mm/yyyy parameter 16 30
Error in creating a view. 8 22
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

856 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