Email on web from form

My situation:
I have an Oracle application with serveral forms running on our
interant web.(Oracle 8i, NT, IIS....)
My question:
I want sending e_mail using our mail server directly from our
Oracle forms(eg. button-pressed) and attach the form's data to
this email. It will be very appreciated If any one can give me a
anwser or hints.
Thanks advance.
Frank
null

frank (guest) wrote:
: My situation:
: I have an Oracle application with serveral forms running on our
: interant web.(Oracle 8i, NT, IIS....)
: My question:
: I want sending e_mail using our mail server directly from our
: Oracle forms(eg. button-pressed) and attach the form's data to
: this email. It will be very appreciated If any one can give me
a
: anwser or hints.
: Thanks advance.
: Frank
You may develop a sendmail dll using winsock/smtp and call the
sendmail function in Oracle Forms using ora_ffi call. It works
for me in a Client/Server Windows/NT environment, but I am not
sure if it works running on Web. Please let me know if you want
details.
Peter Ng
Calgary, Canada
null

Similar Messages

  • Calling Reports on Web from Forms

    Hello Friends,
    Right now I am able to run my reports from HTML page/by
    giving URL in IE.
    but I want to call reports from form application. in
    client/Server model, I used RUN_PRODUCT built-in. when i am
    converting to web, i don't know how to call reports from form.
    one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    pass the Parameter List, as we pass parameter list in
    RUN_PRODUCT built-in.
    even though we can pass like
    report=xyz.rep&destype=screen ....
    If there is '&' in the paramtere value , how should we take
    care of this. If any one knows solution, please let me know
    Thanks in advance
    Regards
    Surendra.
    null

    Surendra Babu (guest) wrote:
    : Hello Friends,
    : Right now I am able to run my reports from HTML page/by
    : giving URL in IE.
    : but I want to call reports from form application. in
    : client/Server model, I used RUN_PRODUCT built-in. when i am
    : converting to web, i don't know how to call reports from form.
    : one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    : pass the Parameter List, as we pass parameter list in
    : RUN_PRODUCT built-in.
    : even though we can pass like
    : report=xyz.rep&destype=screen ....
    : If there is '&' in the paramtere value , how should we take
    : care of this. If any one knows solution, please let me know
    : Thanks in advance
    : Regards
    : Surendra.
    Hi Surendra,
    Run Reports using Run_product tool by passing all the parameters
    reqd. for your report and save it as a file in *.pdf format(
    recommended) then call the saved report in WeB.Show_document
    which will call your saved report .
    Ex:
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id:=Get_parameter_list('mtetgdata');
    IF NOT Id_Null(pl_id) then
    Destroy_Parameter_list(Pl_id);
    END IF;
    Pl_id:=CREATE_PARAMETER_LIST('mtetgdata');
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER
    (pl_id,'DESTYPE',TEXT_PARAMETER,:REP_LAUNCH.DESTYPE);
    ADD_PARAMETER(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    ADD_PARAMETER
    (pl_id,'P_RECV_129',TEXT_PARAMETER,:REP_LAUNCH.RECV_129);
    ADD_PARAMETER(pl_id,'DESNAME',TEXT_PARAMETER,'J:
    \WEBFORMS\RepTemp\ACHD_129.pdf');
    ADD_PARAMETER(pl_id,'P_START_DATE',TEXT_PARAMETER,TO_CHAR
    (:REP_LAUNCH.START_DATE,'DD-MON-RRRR'));
    RUN_PRODUCT(REPORTS,'J:
    \WebForms\REPORTS\ACHD_129.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl
    _id,NULL);
    WEB.SHOW_DOCUMENT
    ('http://xdb.oraweb.net:8889/Webforms/RepTemp/ACHD_129.pdf','_sel
    f');
    end;
    I hope this will solve your problem
    Rao Guduru
    null

  • Calling Reports on Web from Forms 6

    Hi
    The problem I have when I am calling Reports from Forms is, if I am calling 3 reports from the Forms the first report called is never shown in the browser while all the others are shown in the previewer.
    Is there any property setting I am missing! Please Help!
    Thanks,
    null

    hello,
    please check the DESTYPE and DESFORMAT settings of the report that does not show up. if you do not pass these settings in you parameter-list the report uses the default values set in the report definition. if these are set to DESTYPE=FILE or PRINTER then the report never shows up.
    regards,
    the oracle reports team

  • How to send automatic emails to lotusmail from forms 10g

    hi iam new to oracle forms 10g...as i have developed complaint module. now i need to send automatic emails from my forms 10g to my department heads
    depending on complaints assigned, to their lotus mail... as iam totally new to this can any one tell me step by step process to do........ if anyone having sample
    complaint module pls send it to me it vl be more helpful to me........

    Welcome to the forum!
    Sometimes it helps to search the forum before posting a question.
    Here are some links which might help you:
    Sending emails viw UTL_SMTP
    PL/SQL for utl_smtp
    If you have a mail-client installed on the client-pc you could use the following to open it and iinitially create a mail with that
    microsoft outlook express connectivity to oracle
    If you have Outlook installed as mail-client another option would be CLIENT_OLE in webutil, have a look at this
    Send mail with attachment

  • LOVSon System Parameters & Email from Forms?

    I have 2 questions:
    1) Can email be sent from forms as well as reports or just reports?
    2) Can a LOV be set up from the System parameters as well as user parameters?
    If the answer to either of these questions is yes could someone tell me where to look?
    Thank you for your help!

    Hey buddy,
    I was working on a similar issue today.
    1. Set the SMT_OUT_SERVER in init.ora and shutdown the server and started
    using this init.ora
    2. Checked by logging as sys whether utl_mail package is valid
    3 From the sys account I tried sending the email
         BEGIN
         utl_mail.send('[email protected]', '[email protected]', NULL,      NULL, NULL);
         END ;
    4 If step 3 works ur set up is good and then you need to have the privilege for
    the user account where you are running this or grant it to public
    grant execure on utl_mail to public
    Rajesh Alex

  • Call file(*.pdf) from form

    can we call file ex: d:\lat.pdf into web from form 9iDS?
    thanx
    pipin

    Put the PDF to a directory within the webserver and call it with
    web.show_document('http://webserver/pdf/lat.pdf', '_blank');

  • 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;

  • When run report from form(6i) on the web,error FRM-921000

    While I was trying to run report from form (6i)on the web,it will give me this error
    message FRM-921000 and hang.
    But when I try to call form using form,I do
    not have the problem.
    May I know ehat is the cause?
    Anybody encounter this before?
    Thanks
    null

    I am running Forms 6i on the web and attempting to call me report via RUN_REPORT_OBJECT. I am getting the same error as Jenny FRM-92100. I need to pass a parameter list so I don't think I can use WEB.SHOW_DOCUMENT. Any ideas???
    Thanks,
    Jenny N.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joseph Schwertner ([email protected]):
    Dear Jenny,
    I am running reports from Forms 6i on the WEB. I did not encounter your problem. Nevertheless I would like to share the following with you.
    RUN_PRODUCT doesn't work for calling reports ON THE WEB. Instead using RUN_PRODUCT do the following:
    1. Install Oracle Reports Server
    2. For WEB calls of reports use WEB.SHOW_DOCUMENT
    3. Learn how to pass parameters to the reports. It is a litlle bit strange, but it is explaint excellent in the documentation to the Reports Server.
    I hope this will help you.
    Joseph Schwertner
    <HR></BLOCKQUOTE>
    null

  • Sending an email from forms

    hi all,
    i need your help.i.e how to send an email from forms .we actually want that facility in our project.we are trying for that but not yet geting .please help me giving information about email in forms.
    thank you in advance

    If you are using Forms on the web, one of the most easiest way to do it is to use the Java mailing support from sun. You can load it into the rdbms 8i or later and use it. There is a step by stepp detailed description on
    www.oracle.com > publications > Oracle Magazine > Ask Tom. If you just type java mail it will be between the first ten I suppose, it's a popular topic.
    HTH,
    Tamas

  • Problems Emailing to Web Gallery From Camera Phone

    I have a Sony Ericcson camera phone that has a mail client which I have set up to use GMail for both incoming and outgoing mail. I can't seem to get Web Gallery to accept the picture emails I send from the phone. The only thing I can conclude is that the server accepting the emails has problems parsing the message. I can use my desktop computer to send the image to Web Gallery, so it's there's nothing wrong with the image itself. I've also tried configuring my phone to use an AT&T mail server to send the picture, but have the same problems, so it's not the mail servers. I've also sent a full sized image (2 megapixels) as well as a small version (640x480) to see if it's related to file size, but they fail as well. Interestingly enough, I can send videos that I take from my phone to Web Gallery and it gets posted, so I figure it's not the phone.
    Has anyone else encountered this problem? I've included the failure notice email I get back from the Web Gallery mail servers below if it can help diagnose the problem. Thanks.
    This is an automatically generated Delivery Status Notification
    Delivery to the following recipient failed permanently:
    [email protected]
    Technical details of permanent failure:
    PERM_FAILURE: SMTP Error (state 16): 521 5.2.1 Fatal failure of WOA
    ----- Original message -----
    Received: by 10.115.54.1 with SMTP id g1mr3950254wak.1186779997656;
    Fri, 10 Aug 2007 14:06:37 -0700 (PDT)
    Return-Path: <[email protected]>
    Received: from ?10.173.60.148? ( [208.54.14.20])
    by mx.google.com with ESMTPS id n22sm5661856pof.2007.08.10.14.05.35
    (version=SSLv3 cipher=RC4-MD5);
    Fri, 10 Aug 2007 14:06:36 -0700 (PDT)
    From: "=?ISO-8859-1?Q?xxxx?=" <[email protected]>
    To: [email protected]
    Subject: =?ISO-8859-1?Q?Bike?=
    Mime-Version: 1.0
    Content-Type: MULTIPART/MIXED;
    boundary="--MULTIPART_BOUNDARY00004E2D0000616C"
    Date: Fri, 10 Aug 2007 14:06:36 -0700 (PDT)
    Message-ID: <[email protected]>
    ----MULTIPART_BOUNDARY00004E2D0000616C
    Content-Type: TEXT/PLAIN;
    charset="ISO-8859-1"
    Content-Transfer-Encoding: QUOTED-PRINTABLE
    ----MULTIPART_BOUNDARY00004E2D0000616C
    Content-Type: application/octet-stream;
    charset="US-ASCII";
    ----- Message truncated -----

    After many trial and errors, I figured out that the web gallery mail servers were choking because the filenames my phone gives photos have capital ".JPG" extensions. If I change them to lowercase, the pictures get posted. Unfortunately, I can't rename the files inside the phone and need to transfer them out to my mac via bluetooth before I can rename it. To solve the problem for myself, I created an email address on another hosted website that pipes mail to a script that rewrites the problematic portions before sending it to my web gallery. It's somewhat of a roundabout way of doing it, but it works for now.
    Hopefully the web gallery mail servers will be corrected to handle this situation.

  • Running reports from forms on the web

    On forms and reports 6i we used the following code to run reports from forms.
    We need to do the same on 9i forms and reports, we are running into problems.
    Any help will be appreciated.
    PROCEDURE web (inFileName VARCHAR2,
    inRecordGroup RECORDGROUP) IS
    outVirtualPath VARCHAR2(200) := '/forms90/f90servlet?p_url=/reports/rwservlet?'; outServer VARCHAR2(200) := 'server=rep_ora-app-4';
    outReport VARCHAR2(200) := 'report='||inFileName;
    outUserid VARCHAR2(200) :=
    'userid='||GET_APPLICATION_PROPERTY(USERNAME)||'/'||GET_APPLICATION_PROPERTY(PAS
    SWORD)||'@'||GET_APPLICATION_PROPERTY(CONNECT_STRING);
    outDesType VARCHAR2(200) := 'DESTYPE=CACHE';
    outDesFormat VARCHAR2(200) := 'DESFORMAT=PDF'; outUser VARCHAR2(2000);
    outCount INTEGER;
    error we are getting.
    FRM-42017:Module name must be specified.

    S Hatch (guest) wrote:
    : I'm thinking that you're going to have to install the Reports
    : cartridge, create an entry in the keymap with any parameters
    and
    : call your report via the url.
    : Dessislava Gantcheva (guest) wrote:
    : : How do I call a report from a form on the web?
    : : I have installed Windows NT Server 4.0 with SP 5, OAS4.0.7
    EE
    : : with patch 1, Developer 6.0 with patch 1. Developer server
    and
    : : forms server work fine in a non-cartridge implementation,
    but
    : I
    : : cannot run a report within a form. I just have no any info
    how
    : : to do this.
    I have entries in my keymap file and I can call my reports via
    the url, but I cannot run a report WITHIN a form. I mean to call
    a report by clicking on a button of a form on the web. The
    RUN_PRODUCT built-in does not work (at leas it seems like this)
    If any one has expiriense with it, please, give me a hint.
    Thanks
    null

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

  • Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT

    I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
    But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
    So now I have 2 questions:
    a) How can I disable the "Printed successfully"-Message
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    I hope I hava explained my problem clearly. 4
    Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
    WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');      
    Many thanx for your help!
    Regards
    Marc

    Hello,
    for the problem:
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    may be it just a setting in your Browser ?
    For Internet Explorer :
    go to I.E General Options screen. click on settings button and choose
    "Every visit to the page " option.
    Regards

  • When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?

    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks

    sandrafromsilver spring wrote:
    When I try to print from my iPad I see a message "searching for printer" and then "no printer found.".  I have a printer application loaded and it finds my wireless printer.   How do I get the iPad to do the same so I can print from emails, the web, etc?  Thanks
    Go to the following link:
    http://jaxov.com/2010/11/how-to-enable-airprint-service-on-mac-os-x-10-6-5/

  • Executing a shell script from a web deployed form

    Hi there,
    i've got a web deployed form from which i want to execute a UNIX shell script upon clicking a button.. I've used the host command ,and the rsh utility in Windows NT but i'm getting an error message saying
    "machine address" Permission denied, rsh can't establish connection " this is the code in the when button pressed trigger
    HOST('c:\windows\system32\rsh <<machine address>> opt/apps/wmc/rw.ksh');
    the machine address being the unix machine i'm trying to connect to and the last part being the path and the shell script to be executed..
    can anybody help me out here ????
    Regards
    wole
    null

    Jim,
    Yes. Use the host command from forms and call the command rexec.
    Raymond
    null

Maybe you are looking for

  • How do I set google mail as my default rather than apple mail

    Hello All - Stumped at how to avoid having Mail be the default - which seems to be the default of choice on my desktop. However I do not really use Mail, but rather gmail. Unsure of how to go about this, since I do not have a reader for my gmail. Tha

  • Recalculation in excel thru java

    Hi, Thru java program i can able to read and write the values into the excel sheet. but...Latest re calculating values are not available to read Example, for the following situation i am not getting right values In worksheet1 cell A1 = 10 (writing th

  • Place glyph at end of paragraph?

    I am putting together a cookbook. I'd like to put a glyph at the end of the last sentence for each recipe. (Basically, the final instruction.) Is it possible to create a paragraph format that includes a glyph at the end? Or would I need to rely on GR

  • IBook G4 - suddenly shuts off and sometimes screen dims

    I have a new iBook G4, less than a year old. I've been very happy with it except for this week. A few days ago the screen unexpectedly dimmed to its lowest setting, even though when I tried to change the screen brightness it showed it at its highest

  • Using calling cards with the Iphone Question

    Hi, Just wanted to know if there is a way to add a calling card number passcode and than be able to dial the contact number. Previously I had the razr and nokia n8o and never had any issues, one way was to use the calling card number as a contact and