Emailing from Forms using OLE2....Critical problem

Dear All,
I > Iam sending Email thru ole2 from Forms6i. The whole business process is in LAN/WAN. The email process calls ms-outlook. But in some m/c although the report gets generated , nothing is sent to outbox.
Do i need a MAPI profile to be installed in Outlook.Even if i installed a MAPI profile
its giving a error messg ' Exchange server can't be found'.
whats the issue can any one tell me ????
2> Also if i bypass OLE2 and generate the report in pdf and email from report runtime thru the 'mail menu' it calls outlook express.But i want to fix the subject and report name in the outlook express.Its coming as default system generated.
Can it be changed in any setting ???
regards,

i does not have any idea for sending mail from ole2 but i send the mails using the demo mail package.

Similar Messages

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

  • Email from form using developer 6i

    Hi,
    Could anybody help me to resolve the below mentioned problem. I wanted to call "Outlook" Mailto: from a form where my email address is entered. How can I do this in forms 6i.
    PG Anil.

    I'm not sure what you mean by the "SQL Net client" not being compatible.
    We have one client using Oracle 11g and one on Oracle 9. I can still connect and test all of our Forms 6i client/server forms to BOTH databases and run tests successfully.
    As long as the new database is not using the AL32UTF8 character set, and Forms users have all Upper-case passwords, all seems to work ok.
    Edit: Following tony.g's note below: I have Patch 18 installed on Forms 6i, so it runs version 6.0.8.27.0
    Edited by: Steve Cosner on Oct 31, 2012 9:38 AM

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

  • Send email from forms

    Can anybody send me a code how to send an email from forms
    with attachement for multiple users
    I am using oracle 8i and forms 6i
    My mail application is Novel group wise
    Thanks for your help

    Oracle Reports can be run directly to email.
    Check out the DESTYPE parameter.
    To send emails you can use a call to Java Mail using the Java importer. There is a sample form for this in the Oracle9i Forms demos. This should work in 6i also.
    You might also be able to use email from the database with the UTL_SMTP package:
    http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/maildemo8i_sql.txt

  • Email from forms 45

    I want to send email from forms 45 .
    how can I do it.
    appreciate any help on this

    <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.

  • Help: how to send emails from FORMS?

    Are there simple steps to send emails from FORMS?
    Thank you in advance.
    Jimmy

    I'm sure there are many ways to send emails from Forms. Personally I never had to do this, but I can imagine following ways.
    a) use UTL_SMTP-Package to send the email via your database
    b) use a Java-Call
    Peter

  • 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

  • Sending external email from forms

    Hello.
    I want to send an email using a form and a report. The report is the attachment of the email. I run the report from form using this command
    v_rep := RUN_REPORT_OBJECT(repid);
    If i send the mail to an internal address, works properly. If i want to send the email to an external address i have this error:
    FRM-41214
    Error when running report ORA - 0000: normal, successful completion
    I made a check with telnet on my computer and i managed to send an mail to an external address.
    Anyone has any idea?
    Thanks.

    I looked at the logs on the SMTP server, the extern mail doesn't even reach the SMTP server queue.
    I enabled the trace for the report server and I get this error:
    [2008/6/6 0:52:18:703] Exception 50152 (): Error while sending mail - Sending failed;
    nested exception is:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 550 5.7.1 Unable to relay for [email protected]
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.utility.Utility.newRWException(Utility.java:756)
    at oracle.reports.server.MailService.send(MailService.java:492)
    at oracle.reports.server.DesMail.sendFile(DesMail.java:186)
    at oracle.reports.server.Destination.send(Destination.java:489)
    at oracle.reports.server.JobObject.distribute(JobObject.java:1582)
    at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2231)
    at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:134)
    at oracle.reports.server._EngineCommImplBase._invoke(_EngineCommImplBase.java:94)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    Thanks

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

  • Opening .pdf files from forms using OLE

    Hi,
    I want to open, print , save and save as pdf files from forms using OLE . Please help me with the same.
    Thanks
    Vidya

    If you are in client/server mode, you can put an OLE container component on your form. However, be warned that this method does not work when you convert to the forms server web enabled mode. If you anticipate moving your application to the web anytime soon, my advice would be to web-enable first and then add in the feature to view .pdf (or other) files. In our client/server app, I went to a lot of trouble to add in OLE features such as you describe, and now I have to completely re-write those features for the web.

  • Email a form using PHP works intermittently

    Hello all,
    I'm using DW CS6/ Win 7. I have created a simple subscription form where the user enters their email and the form is emailed to an administrator. Sometimes it works and sometimes it doesn't and I have no idea why. Occasionally I  receive the email after a delay of several minutes and sometimes it never arrives. The webpage is here www.sanbenitoolivefestival.com/contactus2.php , below is the script , I've tried in IE and FF, same intermittent results. I'm new to FF/ Firebug but it didn't report any errors that I could see
    <div class="subscribe">
        <div class="spacer"></div>
    <?php
    if ((isset($_REQUEST['email'])) && ($_REQUEST['email'] != " Enter Email Address"))
    //if "email" is filled out, send email
        echo "sending mail";
        //send email
       $email = $_REQUEST["email"] ;
       $subject = "SBOF EMAIL SUBSCRIPTION REQUEST" ;
       $message = "Please add my email address to the SBOF email subscription list" ;
       mail("[email address removed by moderator]", $subject,
       $message, "From:" . $email);
       echo "Thank you, we have sent your subscription request";
    else
    //if "email" is not filled out, display the form
       echo '<form action="contactus2.php" method="post" >
         <em>Stay in touch by joining our email list.                  
          <input name="email" type="text" value=" Enter Email Address" size="42"  class="input" />         
         <input name="submit" type="submit" value="   SUBSCRIBE  " class="button"/>
          </em>
        </form>';
    ?>
    </div>

    You are using an extremely insecure technique that lays your form wide open to a malicious attack known as email header injection, which can turn your form into a spam relay.
    You should NEVER use unfiltered form input in the email headers. The From header is intended to indicate who sent the email. In this case, it's your website, not the person who fills out the form. If you want the convenience of hitting the reply button in your email program to use the sender's email address, you should use the Reply-to header instead of From.
    Misusing the From header like this is one possible cause of your emails not getting through. You should also check with your hosting company to see if they require the fifth argument to mail() to be set. This is normally a string that begins with -f followed immediately by a known email address on the same domain as the server, for example '[email protected]'.
    Also, using $_REQUEST is insecure.
    Change your code like this:
    <?php
    if ((isset($_POST['email'])) && ($_POST['email'] != " Enter Email Address"))
    //if "email" is filled out, send email
        // make sure the email is OK
        $email = filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL);
        // send the message only if the email address is valid
        if ($email) {
            echo "sending mail";
            //send email
            $from = '[email protected]';  // this should be your own email address
            $subject = "SBOF EMAIL SUBSCRIPTION REQUEST" ;
            $message = "Please add my email address to the SBOF email subscription list" ;
            $headers = "From: $from\r\nReply-to: $email";
            $sent = mail("[email address removed by moderator]", $subject,
                $message, $headers);
            if ($sent) {
                echo "Thank you, we have sent your subscription request";
           } else {
                echo 'Sorry, there was a problem sending your request';
    else
    //if "email" is not filled out, display the form
       echo '<form action="contactus2.php" method="post" >
         <em>Stay in touch by joining our email list.                 
          <input name="email" type="text" value=" Enter Email Address" size="42"  class="input" />        
         <input name="submit" type="submit" value="   SUBSCRIBE  " class="button"/>
          </em>
        </form>';
    ?>

  • Cannot send email from iPhone using Outlook account

    I cannot send or reply to emails using my att.net email account. I always get the message, "The sender address was invalid". I can receive emails from this account.

    I am having the same problem. Any suggestions would be appreciated!

  • Unable to delete emails from care4free using thunderbird

    I have just bought an imac and have transfered my thunderbird account from my old pc. I am unable to delete messages from my care4free POP account. Anyone help with this please?

    Problems associated with deleting or moving email usually stem from failure to compact mail
    folders, especially inboxes. This is because deleted email is not removed from the
    application until you compact (expunge is the technical term). This can be done
    automatically by a setting in your email account. Manually is simple enough. On any mail
    folder do this: right click/compact (or File/Compact Folders). This is especially important
    on inboxes but also, any folder from which you regularly delete/move email.
    If you are experiencing problems you probably have a lot of uncompacted mail so be patient
    the first time and watch the activity bar for its status (at the bottom of the application).
    Mario Pauls
    Running Thunderbird 24.3.0
    Windows Vista Home Premium
    Used Thunderbird with Lightning integrated since 2005
    Find more useful info here:
    http://forums.mozillazine.org/viewtopic.php?f=39&t=2638361
    rais
        Posts: 951
        Joined: May 25th, 2011, 8:57 pm
    Post Posted January 7th, 2013, 6:47 pm
    two things just for starters:
        Archive all the mail currently in the Inbox
        http://kb.mozillazine.org/Archiving_your_e-mail
        enable AutoCompact
        http://kb.mozillazine.org/Compacting_fo ... omatically
    Last edited by rais on January 8th, 2013, 3:01 am, edited 1 time in total.

  • Chrome not sending email from form

    Hi Everyone,
    I have setup a form in CS5 have the input sent to me with a script.  It all works fine in IE 8, Firefox 12.0, Safari 5.1.2 for PC, but I do not get the email when using Chrome.
    I have the form page working on my website but the page itself is not linked yet, as I am testing still. 
    I am including the form page itself meetfrm2 and the script sendresults 
    If anyone has any ideas they would be appreciated.
    Thanks in advance,
    dloj
    meetfrm2 page:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Meeting Change Form</title>
    <link href="styles/daone.css" rel="stylesheet" type="text/css" />
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    /* Give the menu bar a width and set the margins to "auto"
    * so that the browser does the centering.
    ul.MenuBarHorizontal {
              width: 50.2em;
              margin: auto;
    /* Center the text within all menu item links.
    ul.MenuBarHorizontal a {
              text-align: center;
              background-color:#FC9;
    /* Set the the alignment back to left for any
    * menu item links that are in a sub menu.
    ul.MenuBarHorizontal ul a {
              text-align: left;
    -->
    a:link {
              text-decoration: none;
    a:visited {
              text-decoration: none;
    a:hover {
              text-decoration: none;
    a:active {
              text-decoration: none;
    </style>
    </head>
    <body >
    <div id="container">
      <div id="banner"><img src="images/newheadercb2.png" alt="socalda" width="1101" height="180"  /></div>
      <div id="main_image">
       <?php include("includes/menu.php"); ?>
      </div><br /><br /><br />
      <div id="centerb_col" style="font-size:14px"><h2>Online Meeting Change Form</h2>
      <p align="center">Please fill-out the form below to expedite your meeting changes.</p>
      <h2>Your Information</h2>
      <form action="scripts/sendresults.php" method="post" name="form1" id="form1">
      <table class="myForms">
      <tr><td>Your Name</td><td><input name="Your Name" type="text" id="yname_meet" size="50" /></td></tr>
      <tr><td>Your Email</td><td><input name="Your email Address" type="text" id="email_meet" size="50" /></td></tr>
      <tr><td>Your Phone Number</td><td><input name="Your Phone Number" type="text" id="phone_meet" size="15" maxlength="12" /></td></tr>
      </table>
      <p>Please check the correct radio button below to signify what type of information you are submitting. <br /> Is this a New Meeting, Changing Information about a current Meeting, <br />or information about a meeting that is closing. 
      <p>
        <label>New Meeting
          <input type="radio" name="radio" id="new_meet" value="new_meet" />
        </label>
        <label>Change Meeting Information
          <input type="radio" name="radio" id="change_meet" value="change_meet" />
        </label>
          <label>Closing Meeting
            <input type="radio" name="radio" id="closing_meet" value="closing_meet" />
          </label>
         <br />
          <h2>Meeting Information</h2>
          <table class="myForms">
          <tr><td>Meeting Name</td><td><input name="Meeting Name" type="text" id="name_meet"         size="50" /></td></tr>
          <tr><td>GSO ID</td><td><input name="GSO ID" type="text" id="gso_meet" size="10" /></td></tr>
          <tr><td>Meeting Contact</td><td><input name="Meeting Contact" type="text" id="contact_meet" size="50" /></td></tr>
          <tr><td>Meeting Contact Phone</td><td><input name="Meeting Contact Phone" type="text" id="cphone_meet" size="12" /></td></tr>
          <tr><td>Meeting Address</td><td><input name="Meeting Address" type="text" id="address_meet" size="50" /></td></tr>
          <tr><td>Meeting City</td><td><input name="Meeting City" type="text" id="city_meet" size="50" /></td></tr>
          <tr><td>Meeting Zip</td><td><input name="Meeting Zip" type="text" id="zip_meet" size="10" /></td></tr>
          <tr><td>Meeting Room</td><td><input name="Meeting Room" type="text" id="room_meet" size="50" /></td></tr>
          <tr><td>Meeting Focus</td><td><input name="Meeting Focus" type="text" id="focus_meet" size="50" /></td></tr>
            <tr><td>Meeting Directions</td><td><textarea name="Meeting Directions" cols="" rows="" id="directions_meet"></textarea></td></tr>
          </table>
          <br />
          <input name="Submit" type="submit" id="submit_meet" value="Submit" />
      </form>
      <br /><br />
      </p>
      <hr />
      </div>
       </div>
    </body>
    </html>
    The Script sendresults.php:
    <?php
    //--------------------------Set these paramaters--------------------------
    // Subject of email sent to you.
    $subject = 'Results from Meeting Change Form';
    // Your email address. This is where the form information will be sent.
    $emailadd = '[email protected]';
    $emailadd2 = '[email protected]';
    // Where to redirect after form is processed.
    $url = 'http://www.socalda.org/confirmation.php';
    // Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
    $req = '0';
    // --------------------------Do not edit below this line--------------------------
    $text = "Results from form:\n\n";
    $space = ' ';
    $line = '
    foreach ($_POST as $key => $value)
    if ($req == '1')
    if ($value == '')
    {echo "$key is empty";die;}
    $j = strlen($key);
    if ($j >= 50)
    {echo "Name of form element $key cannot be longer than 50 characters";die;}
    $j = 50 - $j;
    for ($i = 1; $i <= $j; $i++)
    {$space .= ' ';}
    $value = str_replace('\n', "$line", $value);
    $conc = "{$key}:$space{$value}$line";
    $text .= $conc;
    $space = ' ';
    mail($emailadd, $subject, $text, 'From: '.$emailadd.'');
    mail($emailadd2, $subject, $text, 'From:'.$emailadd2.'');
    echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">';
    ?>

    You're entirely welcome.
    Good luck with your project.

Maybe you are looking for

  • Quality Notification

    Hi sap gurus, In standard Notification report, Defective quantity, Reference quantity and plant is not printing. How can i get plant wise notification report.Can anybody suggest me how to do this. Krishna

  • [solved] ext4 removable media usable by anyone on any computer.

    Hi there ! Is there something special to know about ext4 and extern USB hard drive ? I used Gnome DIsk Utility to format it, and when i plug it, it mounts ok but with root, so I can't write data on it. Is there a way to fix it please ? Last edited by

  • Unknown errors and continuous restore prompts

    itunes won't sync with my ipod classic anymore.  I constantly get various unknown errors (-50, -81, -80, 13010) and/or am told I have to restore my ipod over and over.  Everything was fine a month ago, now I can't figure out what is going on.  Please

  • How to create invoice by passing delivery number..?

    Plz suggest any method or code to create automatic invoice by passing delivery number...

  • Pattern brush

    Hi, I am trying to create a pattern brush with the two elements you'll see at the top of the attached file.The perfect square shape should be the corners and the thinner rectangle with the link graphic in it should be in between. I created a pattern