Outlook from Forms 6i

Hi,
In Forms 6i client server, is there a way to programmatically determine if OUTLOOK is running on the client machine and then launch it if it is not running. I do not want to hard code any file paths if possible. Thanks for your help.

HELP PLEASE.

Similar Messages

  • Problem in sending the report to Outlook from Oracle Forms.

    hi buddies
    I'm trying to send a report to outlook from form.
    but when I run the report with the following report parameters:
    Add_Parameter(param, 'DESFORMAT', TEXT_PARAMETER, 'pdf');
    Add_Parameter(param, 'DESNAME' , TEXT_PARAMETER,'d:\main\abc.pdf');
    Add_Parameter(param, 'DESTYPE' ,TEXT_PARAMETER,'mail');
    it gives the following message before opening the outlook:
    "c:\program files\common files\system\msmapi\1033\mpa03240
    cannot create output file. check to ensure path and file name are correct."
    then it opens a dialog box of outlook asking the cotacts whom I wanna mail this file and then opens outlook with the above mentioned report file but with a default file name like "Report.pdf" and it doesn't show the send mail button in opened outlook window.
    can u tell me the reason why is it giving this message n where is the error?

    Hi Vengal !
    What is your module configuration in comm channel ??
    what is your current result and the expected one.
    Regards,
    Matias.

  • Is there any way to set a calendar event in MS Outlook from Oracle Forms

    I need to set and delete events in MS Outlook from an Oracle Form (version 10gR2).
    Is there any way to accomplish this?
    Thanks

    You will need to use OLE on the client, which would further require the use of WebUtil. Here (below) are a couple of MS examples that you would need to convert to pl/sql. There are a variety of Oracle notes which discuss reading and writing to MS Word and Excel. These can likely be used as a starting place to talk to Outlook. There is a WebUtil demo which includes an example of how to write to MS Word. It can be found on the WebUtil home page:
    http://www.oracle.com/technetwork/developer-tools/forms/webutil-090641.html
    <li> http://support.microsoft.com/kb/160502
    <li> http://support.microsoft.com/kb/170262

  • Open outlook from a sharepoint page

    Hi, what's the syntax to open outlook from a sharepoint page?
    keren tsur

    Hi,
    According to your post, my understanding is that you wanted to open Outlook Form a SharePoint Page.
    If you wanted to see the Outlook content in SharePoint page, I recommend to use Page Viewer Web Part.
    In addition, you can use the Site Mailboxs.
    For more information, please refer to:
    http://camerondwyer.wordpress.com/2013/10/30/integrating-outlook-web-access-owa-and-sharepoint-2013/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to send a  mail to outlook   from iphone flex 4.5.1 app automatically..?

    HI folks,
                     i have to send a mail to outlook for correpanding mailler id  with out  opeing  outlook  from my app(iphonoe flex 4.5.1 app.) with taking the input values what ever  we have given as input those values has to be send to outlook  while pressing submit button  on that  view....(i dont want  to open outlook  and user action on that).
    Please help out on thsi issue..
    Regards,
    Madhu.

    Hello Madhu,
    The only way to send an email without opening a client is: using server-side mail objects invoked by your app.
    This would be the workflow:
    - your user fills in form data (subject, body, mail_to)
    - your application sends form data to a server (via httpservice or webservice or AMF)
    - the server takes care of sending the mail in a way that is transparent to your user
    So: it is not possible to send emails without opening the iPhone client (I think by "outlook" you mean the "mail client" with an Exchange account) for security reasons. You wouldn't want any app to send mails without you pressing "Send" in a known interface.

  • How can i send emails from forms

    I need to be able to send emails from forms 6.(assuming the pc is running Outlook) What is the best way of doing this? Would OLE or DDE control of Outlook be the easiest method?
    If anyone has done this please let me know.

    See:
    iOS: Unable to send or receive email
    I would Google for:
    setup verizon email on phone
    for the settings to use.

  • Sending email from forms using 'from'

    I'm trying to send an email from forms. It goes well, but I like to use the 'from' field from Outlook. How can I use it in OLE? I have searched everywhere, but can't find it.
    It seems to me it is something like the way you do with BCC and CC options, but I haven't found a way to do the same thing with the From field. Can anyone help?
    Thanks,
    Pauline Kooy

    Fabrizio,
    Are you just sending the Line Feed character 'CHR(10)"? I typically send the Carrage Return character 'CHR(13)' as well. I'll create a variable called CRLF and assign the Carrage Return and Line Feed characters to this variable. Then reference the CRLF variable when I want to embed a new line.
    For example:
    DECLARE
       crlf         VARCHAR2(2) := chr(13)||chr(10);
       v_msg_body   VARCHAR2(2000);
    BEGIN
       v_msg_body := 'lots of text here'||crlf;
    END;Hope this helps.
    Craig...

  • How to send formatted mail from form 6i

    Hi,
    There is requirment in my project to send formatted mail from form 6i.The database used in 9i.In normal form we can send normal mail.However our requirment is such that the mail content should have company logao pics and it should display data in coloured format based on data fetched from database.How can this be done.
    l

    What method are you using to send email from your form now? If you are using UTL_SMTP, you can set the MIME_TYPE = 'HTML' as Francois suggests. If you are using an OLE call to Outlook or a email JavaBean? The method you use to send email will dictate how you send Rich Text/HTML email messages.
    Craig...

  • Procedure for Simple Mail from Forms

    Hi All,
    Is there any procedure to send simple email without
    attachment from forms 9i like we have the feature in oracle reports.
    1.Not using OLE i mean outlook.
    2.Neither calling report.

    First you must:
    ============================================================
    v_mailconn utl_smtp.connection;
    v_hostname VARCHAR2(64);
    v_mailhost VARCHAR2(64):= 'mail.smtphost.com' -- note ***this is not a real mail hostname***
    SELECT host_name INTO v_hostname FROM V$INSTANCE;
    v_mailhost := v_hostname||'.'||v_mailhost;
    v_mailconn := utl_smtp.open_connection(v_mailhost, 25);
    utl_smtp.helo (v_mailconn, v_mailhost);
    -- next call: se below for procedure
    send_mail_to_user(v_mailconn, v_mailhost, p_email, v_subject,
    v_message1, v_message2, p_message);
    utl_smtp.quit (v_mailconn);
    ============================================================
    PROCEDURE send_mail_to_user (p_mailconn IN OUT utl_smtp.connection,
    p_mailhost VARCHAR2, p_email VARCHAR2,
    p_subject VARCHAR2, p_message1 VARCHAR2,
    p_message2 VARCHAR2, p_message3 VARCHAR2) IS
    BEGIN
    -- send mail to a single user, assume the connection has already been opened
    utl_smtp.mail (p_mailconn, p_mailhost);
    utl_smtp.rcpt (p_mailconn, p_email);
    utl_smtp.open_data (p_mailconn);
    utl_smtp.write_data (p_mailconn,
    'To: ' ||'<'||p_email ||'>'|| utl_tcp.crlf ||
    'From: ' ||'My Automated EMail System' || utl_tcp.crlf ||
    'Subject:'|| p_subject || utl_tcp.crlf ||
    'Date:' ||TO_CHAR(NEW_TIME(SYSDATE,'PDT','GMT'),'DD Mon YY HH24:MI:SS')||utl_tcp.crlf);
    utl_smtp.write_data (p_mailconn, utl_tcp.crlf || utl_tcp.crlf ||
    ' -----------------------------------------------' || utl_tcp.crlf ||
    ' | This is an automatically generated email |' || utl_tcp.crlf ||
    ' | |' || utl_tcp.crlf ||
    ' | Do not reply to INFADS Automated EMail System |' || utl_tcp.crlf ||
    ' -----------------------------------------------' || utl_tcp.crlf ||utl_tcp.crlf);
    utl_smtp.write_data (p_mailconn, p_message1 || utl_tcp.crlf || utl_tcp.crlf);
    utl_smtp.write_data (p_mailconn, p_message3 || utl_tcp.crlf || utl_tcp.crlf);
    utl_smtp.write_data (p_mailconn, p_message2 || utl_tcp.crlf);
    utl_smtp.close_data (p_mailconn);
    EXCEPTION
    WHEN OTHERS THEN
    IF SQLCODE = -29279 THEN -- (User Unknown)
    NULL;
    ELSE
    RAISE_APPLICATION_ERROR(-20000, 'send_mail_to_user: '||SQLERRM);
    END IF;
    END;

  • Eudora Email from Forms

    We are trying to send email from Forms (background not interactively). We use Eudora as a standard mail application. I am trying to use OLE Automation to send mails as I have to attach Word documents to the mail. There are sample code in Metalink for OLE automation of Outlook but not for Eudora. I'm not even sure if Eudora is an OLE server application. I would appreciate any kind of help and suggestions here.
    Thx
    --Shyam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by jilla:
    I want to send email from forms 45 .
    how can I do it.
    appreciate any help on this<HR></BLOCKQUOTE>
    To send the mail from within a program unit/trigger, you will have to find out the mail batch command for the mail program that you are using eg. Microsoft Mail. If you are not sure, contact whoever created the mail program. Next, use TEXT_IO (built-in package) or some other method to write to the 'control' file that will be the email file you will send. Once you have done this you will need to invoke the HOST command, passing the mail batch command as a parameter to it.
    It is possible to write to an error file to see why the email was not sent, if this so happens. Again this file (any name you like to give it) will be a parameter to the mail batch command.
    To test if the mail was sent, write code like the following:
    procedure send_mail is
    l_file text_io.file_type;
    l_buffer varchar2(2000);
    l_mail_command varchar2(1000);
    begin
    /* Send mail */
    host(l_mail_command);
    /* Check if mail was sent */
    l_file := text_io.fopen('c:\temp\mailerr.err','r');
    text_io.get_line(l_file,l_buffer);
    /* If there is data in this file display message to user, using an alert for example */
    exception
    when no_data_found
    then
    text_io.fclose(l_file);
    end;
    One other point. When you are creating your 'control' file, make sure you precede the email address of the recipient with 'SMTP:'.
    I hope this helps.

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Print a report to a specific printer from Forms

    I have a form from where i want to print a report to a specific printer (not the default printer). Is there any way to do this from Forms 9i. Im using the Orarrp but it pops up the printer dialog and shows the default printer. Is there any way to harcod the printer name. the printer is on the network..

    If i go to my control pannel and see the list of printers i take the printer name from there. should i put the path of the printer? i kno the port of the printer .it come like ip_192.1.11.1_p1 ..how do i define the printer name? if i dnt give the printer name shouldnt if fire to the default printer ..my code is as follows
    declare
    REPID REPORT_OBJECT;
    V_REP VARCHAR2(100);
    REP_STATUS VARCHAR2(20);
    BEGIN
    REPID := FIND_REPORT_OBJECT('CUS_PRINT');
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_EXECUTION_MODE,BATCH);
         SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_DESTYPE,PRINTER);
         SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_SERVER,'test');
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,'P_CUSREF='||:CTRL01.CUSREF||' PARAMFORM=NO');
         MESSAGE('SET REPORT PROP');
    V_REP := RUN_REPORT_OBJECT(REPID);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    MESSAGE('RAN REPORT');
    WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
         REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
         IF REP_STATUS = 'FINISHED' THEN
              IF NVL('TEST',' ') <> ' ' THEN
              GEN_ALERT('NULL_ALERT','TEST');
              END IF;
              ELSE
         GEN_ALERT('NULL_ALERT','Error when running report');
         END IF;
    END;
    what should the desformat of the report should be..when im trying to run this it gives me 'no data found' error...why???

  • Not able insert ,query data from forms

    hi,
    I am not able to insert data or query data from forms(10g devsuite).getting error frm-40505,frm 40508 .i am able to insert and select record from sql plus.the block ihave created is control block .it is connected to the table using the properties.
    should i do anything to insert record.please help

    the block ihave created is control block .it is connected to the table using the properties.A Control Block, by definition, is a non-database block. This means the block is not directly connected to a table so you have to manually display data in the block and any DML you want to perform on data in this block you must do manually as well.
    There are four database objects you can base your database block on; 1) a Table, 2) a View, 3) From Clause Query (basically an In-line View), and 4) a database stored procedure. I recommend you use one of these four methods rather than manually display your data.
    Craig...

  • How can I Connect to SQL Server or other RDBMS like Sybase from Form 6i

    I want to connect Connect to SQL Server or other RDBMS like Sybase from Form 6i. I kniow that I need some gateway product but I don't know the name of the product?Can i use some other technology to do the same like client software etc.
    I need this help urgently?

    Check the following link.
    http://www.oracle.com/technology/products/gateways/index.html

  • SAP HCM P&F - Update an infotype field which is NOT passed from Form

    Dear Experts,
    I have a requirement to update the Infotype with the entries in the HCM form (input by Employee in ESS) upon Manager's approval in MSS.
    We are achieving this functionality using HCM P&F (FPM) with an Workflow associated.  In this Workflow Standard Task (TS17900108) is used to Save the form data into the Database.
    But there is one field (APPROVED_DATE) in the Infotype whose value is not from the FORM but should be updated in the Infotype.
    Please help me with your inputs.
    Regards,
    Shankar

    Dear Christopher,
    I am extremely thankful to you for all the replies.  But, unfortunately, we are messed up with this requirement and we couldn't achieve it.
    In this regard, could you please give us the step-by-step procedure to achieve this functionality?
    Requirement in brief again:
    We have designed Overtime HCM form (FPM) using which employee requests for the Overtime.  This form is sent for the Manager for approval.  We have achieved this functionality.  With the Manager Approval, the database is also updated perfectly.
    Then we have added one more field in the infotype to track the Approved Date.  This field is to be updated along with the other fields (sent from FORM) upon the approval of the manager.
    And now though the other fields are updated correctly into the infotype, the approved date is not updated.
    Thanks a ton in advance for your guidance as this is very critical and urgent requirement for us.
    Regards,
    Shankar.

Maybe you are looking for

  • Aple tv no longer showing up in iTunes

    Anyone know why my 1st generation AppleTV's (2) are no longer showing up in itunes?  I used to be able to see them and could tell when they are syncing.  Now they no longer dowload content either. Thanks!

  • Message splitting in BPM ?

    Hi Guys, I have a proxy-soap scenario and i am using BPM to handle the asynchr-synchronus messages. The request coming into xi has multiple transactions in a single xml file and i need to split them into individual transacrions. I have created a mult

  • Hardware key is not displayed in SAP B1 8.81

    Hi, We installed  SAP B1 8.81(Evaluation version). Hardware key is exists in     Service manager -> Licence Manger. But it is not displaying in   Client  System 's       Help -> About SAP Business one. Please let me know how to retrieve hardware key.

  • Document type created not getting saved

    Hi all, In DC10 I created document type and saved but its not getting saved? I gave document type as CD and description as COREL DRAW and tried to save it, but its not getting saved and asking to fill the required fields so I filled Version no. Inc a

  • High Enqueue Waits in Statspack Report

    Hi Everybody, Oracle Version:Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production OS:Solaris 64 bit Statspack Report is showing High Enqueue Waits Here is a Snapshot..... STATSPACK report for DB Name DB Id Instance Inst Num Release Cluste