How to send a mail in oracle 10g

I am new to oracle developer... we use oracle 10g developer... How to send messages via oracle 10 g on a click.pease button help me.

Thanks in advance

This question was asked several times on this forum, see if you get the help of the following:

https://forums.Oracle.com/message/5395438#5395438

Search results: https://forums.oracle.com/thread/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=form+email

Check this out as well:

http://nzchaudhry.WordPress.com/2013/05/31/send-report-via-email-attachment-in-Oracle-Forms-10G/

You can find the init.ora or initSID.ora file under $ORACLE_HOME/dbs on linux and Windows under $ORACLE_HOME/database. Otherwise, you can create using the command "create pfile from spfile.

Aneel

Tags: Database

Similar Questions

  • How to send a mail with attachment no matter what file use the invoke in os 6.0?

    Hello

    There is some issue that how to send a mail with attachment to use the invoke method in os 6.0?

    "I use the Transport at this time mail send successfully, but I use the invoke to throw this error time these error ismail service does not support these tyes of change of parts joined the send using field or remove attachments ' so how do?

    Thank you

    Hi, rishabh

    Thanks.i got the solution and super work Super-Duper hit.

    Thnaks,

    Umang.

  • How to send e-mails using the RIM api.

    Hi all

    My requriement, it's that I need to develop an application to send e-mail using only the RIM api. Please help me by sending an email using the RIM api. I use version 4.7.0.41 JDE

    Through this Developer's Guide, Section, 'Integrate Messages'.

    http://NA.BlackBerry.com/eng/deliverables/608/BlackBerry_Application_Developer_Guide_Volume_2.PDF

  • How to send the report of Oracle ACEs automatically by email

    Dear gurus,

    I would like to automatically generate an Oracle report and send an email. for this so I try using below command

    Server = C:\home\BIN\rwclient rep_servername_FRHome report=C:\reportpath\report.rdf userid=username/password@aliasname desformat = pdf destype = mail [email protected] Parameter1 parameter2 = parameter3 = parameter4 xxxx xxxxxx xxxxx = = xxxx

    But I am getting below error.

    REP-0177: error when running in the remote server

    Executed successfully, but there were a few errors when distributing the output.

    But if I tried to generate the output as a file on the local machine work very well and below comand generates report on the local desktop

    Server C:\home\BIN\rwclient = rep_servername_FRHome report=C:\reportpath\report.rdf userid=username/password@aliasname desformat = pdf DESTYPE = file DESNAME=C:\report\reportname.pdf Parameter1 parameter2 = parameter3 = parameter4 xxxx xxxxxx xxxxx = = xxxx

    My only problem is to use rwclient I cannot send emails

    Please help me on this.

    Kind regards

    Satish Kumar Sadhu

    Dear friends,

    I solved the problem by putting my server smtp on servicename.conf

  • How to send a mail with attachment

    Hi friends,

    I am using soa 11.1.1.6
    Jdev 11.1.1.6
    WebLogic:-11.1.1.6

    I want generated e-mail with attachment in BPEL 11 g. Here's what I did in my bpel process

    Create processes bpel from simple Hello world.

    In the e-mail activity below details are given

    < name of scope = "Email1" >
    < bpelx:annotation >
    < bpelx:pattern = "bpelx:email" patternName > < / bpelx:pattern >
    < / bpelx:annotation >
    < variables >
    < variable name = "varNotificationReq".
    messageType = "ns1:EmailNotificationRequest" / >
    < variable name = "varNotificationResponse".
    messageType = "ns1:ArrayOfResponse" / >
    < variable name = "NotificationServiceFaultVariable".
    messageType = "ns1:NotificationServiceErrorMessage" / >
    < / variables >
    < name of sequence = sequence of '1' >
    < assign the name = "EmailParamsAssign" >
    < copy >
    < expression = "string ('Default')" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload / ns1:FromAccountName" / >
    < / copy >
    < copy >
    < expression = "" string ()"/ >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload / ns1:Bcc" / >
    < / copy >
    < copy >
    < from expression = "string ('[email protected]')" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload / ns1:Cc" / >
    < / copy >
    < copy >
    < expression = "" string ()"/ >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload / ns1:ReplyToAddress" / >
    < / copy >
    < copy >
    < expression = "string ('testing')" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload / ns1:Subject" / >
    < / copy >
    < copy >
    < from expression = "string ('[email protected]')" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload/ns1: to" / >
    < / copy >
    < copy >
    < delivery > < xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" > < MimeType xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" > multipart/mixed < / MimeType > < ContentBody xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" > < MultiPart xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" > < BodyPart xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" > < MimeType xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" / > < ContentBody xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" / > < BodyPartName xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" / > < / BodyPart > < BodyPart xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" > < MimeType xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" / > < ContentBody xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" / > < BodyPartName xmlns = "http://xmlns.oracle.com/ias/pcbpel/NotificationService" / > < / BodyPart > < / MultiPart > < / ContentBody > < / content / > < / from >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = ' / EmailPayload/ns1: Content "/ >
    < / copy >
    < copy >
    < from expression = "string (" text/html; Charset = UTF-8 ")" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload/ns1: Content / ns1:ContentBody / ns1:MultiPart / ns1:BodyPart [1] / ns1:MimeType" / >
    < / copy >
    < copy >
    < from expression = "" Hi"" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload/ns1: Content / ns1:ContentBody / ns1:MultiPart / ns1:BodyPart [1] / ns1:ContentBody" / >
    < / copy >
    < copy >
    < expression = "string (' application/xml'); "/ >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload/ns1: Content / ns1:ContentBody / ns1:MultiPart / ns1:BodyPart [2] / ns1:MimeType" / >
    < / copy >
    < copy >
    < expression = "string ('result.xml')" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload/ns1: Content / ns1:ContentBody / ns1:MultiPart / ns1:BodyPart [2] / ns1:BodyPartName" / >
    < / copy >
    < copy >
    < expression = "bpws:getVariableData('outputVariable','payload','/client:processResponse/client:result')" / >
    < variable = part of the "varNotificationReq" = "EmailPayload."
    Query = "/ EmailPayload/ns1: Content / ns1:ContentBody / ns1:MultiPart / ns1:BodyPart [2] / ns1:ContentBody" / >
    < / copy >
    < / assign >
    < call name = "InvokeNotificationService".
    portType = "ns1:NotificationService."
    partnerLink = "NotificationService1."
    variableentree = "varNotificationReq".
    outputVariable = "varNotificationResponse."
    operation = "sendEmailNotification" / >
    < / sequence >
    < / scope >


    I'm able to generate E-mail with an attachment, but I do not see that the xml data in the attached file yet the file size is 64 b.

    I think I need to convert the data before sending it as an attachment. Could someone help me please by generating the XML.

    Kind regards
    Tarak

    Hi Tarak,

    You need not specify the MIME Type such as application/xml you don't read a .xml file.

    I'm assuming you are trying to send the result with its XML form variable in the attachment. So, follow the following steps to achieve the same (basically only first steps as my blog).

    -Open the e-mail from the Design view activity and go to the Attachments tab
    -Define the MIME Type such as text/plain; (no need to set as xml) and the name of the attachment as result.xml (what you do already)
    -The content to write this:

    ora:getContentAsString(bpws:getVariableData('outputVariable','payload'))
    

    ora: getContentAsString() function returns you the resulting data in its xml form.

    Be sure to check changes to the source code also like my Jdeveloper, they don't think is in Design view. Test and let me know if the problem persists.

    Kind regards
    Neeraj Sehgal

  • How to send e-mail from xe/apex via the GMail account?

    Hello

    How to set up the sending of e-mails from xe/apex via the GMail (only the support of SSL) account?
    It is possible to do without portfolios etc.. ?

    Thank you
    Jacek

    Hello Jacek,

    There is a nice blogpost on this topic: [url http://monkeyonoracle.blogspot.com/2009/11/plsql-and-gmail-or-utlsmtp-with-ssl.html] PL/SQL and Gmail (or UTL_SMTP with SSL). It is based on the use of stunnel to make the SSL part, you don't need to configure the database to do this.

    -Udo

  • How to send picture mail?

    Separated from this thread.

    How can I email photos out of my library of picures

    I want to address to No photo no 0023jpg

    To help you effectively, we need to know exactly which e-mail system you use.  You can see the differences here

  • Having trouble finding how to send e-mails

    I need to be able to fill out an email (address/subject/body/attachments) so the user to confirm and send, similar to the MailComposer in the iOS.

    I guess I need to show a card, but can't seem to find the target / action for the task.

    Are there examples out there on how to do it?

    Would be - this help? https://github.com/BlackBerry/Cascades-samples/tree/master/messages

    As well as some info in the SDK: https://developer.blackberry.com/cascades/reference/app_integration_message.html

  • RV042G how to send the mail out smtp to WAN2

    I have two WAN1 and WAN2 is connected to an ISP but only WAN2 is to be used for outgoing mails.

    How and where can I specify it in the configuration?

    You can configure a protocol binding rule to bind smtp WAN2 to the System Management > Dual WAN > WAN2 Edit page.

  • How to call a report from Oracle 10g lies in the application server to the server of DB using PLSQL

    Hi all

    I have the following requirement

    I have a 10g Oracle compiled report and giving PDF as output...

    1. I want to call the same report server DB using PLSQL to generate reports in bulk.

    2. the production of the above-mentioned reports should be in the path specific and with the specific name

    Please help me on this

    Kind regards

    SH

    What you want is called "Event Driven publication":

    http://docs.Oracle.com/CD/E17904_01/bi.1111/b32121/pbr_evnt001.htm#RSPUB23700

  • How to send e-mails via profile

    pls explain,
    When I join a site atg, send automatically details of user to specific email id (the email user id) profile.
    explain which measures class i and are implementing... or send the source code...

    (Note: do not use scenario)

    Published by: 940336 on June 13, 2012 12:11 AM

    Published by: 940336 on June 13, 2012 12:17

    This could be done easily define a scenario using the event 'register '. But given that you do not want to use the scenarios you can try to extend ProfileFormHandler and override the postCreateUser() method in the class you.

    You can override the configuration of/atg/userprofiling/ProfileFormHandler within the layer of your application configuration and change his status on your extended. You must call super.postCreateUser () in your overridden method in your extended class so that ProfileFormHandler.postCreateUser () can complete its activities, which are held on the creation of a new user profile. After which, you can use getProfileTools () .sendEmailToUser () to send an email.

    You will also need to ensure that you have correctly configured components TemplateEmailSender and TemplateEmailInfo for sending the e-mail successfully. Please refer to the Guide of programming of customization for more information related to the configuration of these.

  • Oracle 10g EM (how to add a target)

    Hi all

    I have configured em 10 gr 2 oracle to prod db, but I want to add another target IE cloned a (IE on the same machine RHEL4.0)

    How to add the target to oracle 10g EM, please let me know if anyone knows.
    Thank you
    KK

    There is a way to add another target in the console database. But even in this case, at one point, only one target would be maintained. If you want to manage multiple targets in a single unified window, then wages, Console is the way forward not free database console.

    HTH
    Aman...

  • How to send and attachment

    Hello
    I was able to send e-mail from Oracle. Now, I want to send an attachment with it. To do this, I have correctly configured webutil and use it, I have uploaded any type of file on the oracle database. Where the file resides in the BLOB field.
    And now I want to send it as an attachment with my e-mail address.

    All-in-one to give me the code of an attachment or guide me for this can. I'm really stuck on this issue. Please help me.

    My Oracle configuration:
    OS: Windows 7 ultimate (32 bit)
    Database: Oracle 10g Express Edition
    Forms: Oracle Developer Suite 10g (10.1.2) R2

    Uh, if you would have mentioned that earlier... Take a look at documentation of 10.2 for utl_smtp where not a single word is written on SSL. Then take a look at 11.2 documentation, where you utl_smtp.starttls that is required to send a STARTTLS command at the active SSL SMTP server. SSL is not supported 10.2 (you can run via some hack, google maybe askt).
    Must be SSL? I mean there are a few free mailprovider that do not use SSL. If it were to be SSL you might take a look at the virtual machine, I you provided a link (it's a 11.2.0.2 database which should support this) and try from there

    see you soon

  • How to add the field or a query to THE field of the process send e-mail Page

    Hello world

    Can you help me please?

    How can I add a field or a query in "to THE" field of the process to send a Page in e-mail?

    I use the 4.1.0.00.32 and oracle 10g Express Application.

    Hi User11131067, please update your grip via profile to something more personal.

    Here's how I did it:

    DECLARE

    l_body CLOB.

    l_to VARCHAR2 (255);

    BEGIN

    l_body: =.

    "Thank you for your interest in the APEX_MAIL package."

    || UTL_TCP. CRLF

    || UTL_TCP. CRLF;

    l_body: = l_body | "Sincerely,". UTL_TCP. CRLF;

    l_body: = l_body | "Dev APEX team | UTL_TCP. CRLF;

    -Get the email addresses of administrators from point of harvest

    WITH the admins

    AS (SELECT person_tbl.email_address_txt,

    ROW_NUMBER () OVER (ORDER BY email_address_txt) rn,

    COUNT (*) NTC)

    OF harvest_admin_tbl, person_tbl

    WHERE harvest_admin_tbl.active_ind = 'Y' - use active Admins only

    -Eliminate Admin Act

    AND harvest_admin_tbl.internal_employee_id <> v_payroll_id

    AND harvest_admin_tbl.internal_employee_id =

    person_tbl.employee_ghrs_id)

    -Concatenate addresses into a single string

    SELECT LTRIM (SYS_CONNECT_BY_PATH (email_address_txt, ",") ",") catvalues

    IN l_to

    Admins

    WHERE rn = NTC

    START WITH rn = 1

    CONNECT BY PRIOR rn = rn - 1;

    apex_mail. Send (p_to => ' [email protected]', - change to your email address)

    P_FROM-online l_to

    p_body-online l_body,

    p_subj => 'APEX_MAIL Package - message in plain text');

    END;

    /

  • How to make a picture as the content of the body of my mail using Oracle 10 g

    Hi all

    I already did the fixing of the image using SMTP concept. Now, I want to show my picture as my mail body content.

    is it possible to do it in oracle 10g?


    Can anyone help me do this?


    See you soon,.
    San

    San wrote:
    But I want to send the image in the main line, the file that is stored in the server database (Oracle Directory).

    OK, so the situation is that you have an image in a BLOB, and you want to send this inline.
    Then you can do a combination of both procedures and the MIME technique described by Billy Verreynne in his post above (thanks, Billy: D)

    Sort of, something like this (restored your examples and Billys:)

      UTL_SMTP.open_data(l_mail_conn);
    
      UTL_SMTP.write_data(l_mail_conn, 'Date: ' || TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'To: ' || p_to || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'From: ' || p_from || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'Subject: ' || p_subject || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'Reply-To: ' || p_from || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'MIME-Version: 1.0' || UTL_TCP.crlf);
      UTL_SMTP.write_data(l_mail_conn, 'Content-Type: multipart/alternative; boundary="' || l_boundary || '"' || UTL_TCP.crlf || UTL_TCP.crlf);
    
      IF p_text_msg IS NOT NULL THEN
        UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
        UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/plain' || UTL_TCP.crlf || UTL_TCP.crlf);
    
        UTL_SMTP.write_data(l_mail_conn, p_text_msg);
        UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
      END IF;
    
      IF p_html_msg IS NOT NULL THEN
        UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
        UTL_SMTP.write_data(l_mail_conn, 'Content-Type: text/html' || UTL_TCP.crlf || UTL_TCP.crlf);
    
        UTL_SMTP.write_data(l_mail_conn, p_html_msg);
        UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
      END IF;
    
      IF p_image_blob IS NOT NULL THEN
        UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || UTL_TCP.crlf);
    
        /* These values taken from Billys example - replace by your own image name and type >>> */
        UTL_SMTP.write_data(l_mail_conn, 'Content-Type: image/png; name="image1.png"' || UTL_TCP.crlf);
        UTL_SMTP.write_data(l_mail_conn, 'Content-Transfer-Encoding: base64' || UTL_TCP.crlf);
        /* Use something unique here - the value of Content-ID is to be used in your HTML IMG tag */
        UTL_SMTP.write_data(l_mail_conn, 'Content-ID: ' || UTL_TCP.crlf);
        UTL_SMTP.write_data(l_mail_conn, 'Content-Description: image1.png' || UTL_TCP.crlf);
        UTL_SMTP.write_data(l_mail_conn, 'Content-Location: image1.png' || UTL_TCP.crlf || UTL_TCP.crlf);
    
        /* <<< */
    
        /* >>> This is your own example of writing the image blob into the mail as base64 encoded >>> */
    
        /* Writing the BLOL in chunks */
        WHILE l_pos < l_blob_len LOOP
          DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
          UTL_SMTP.write_raw_data(l_mail_conn,
                                  UTL_ENCODE.BASE64_ENCODE(l_buffer));
          UTL_SMTP.WRITE_DATA(l_mail_conn, UTL_TCP.CRLF);
          l_buffer := NULL;
          l_pos    := l_pos + l_amount;
        END LOOP;
    
        /* <<< */
    
        UTL_SMTP.write_data(l_mail_conn, UTL_TCP.crlf || UTL_TCP.crlf);
      END IF;
    
      UTL_SMTP.write_data(l_mail_conn, '--' || l_boundary || '--' || UTL_TCP.crlf);
      UTL_SMTP.close_data(l_mail_conn);
    
      UTL_SMTP.QUIT(L_MAIL_CONN);
    

    And then your body HTML should be something like this:

      l_html := '
        
          Test HTML message
        
        
         

    This is a HTML version of the test message.

    ';

    The trick is that img src can point to an image in line with the cid: syntax, where you use the value of the Content-ID header.
    If you have multiple images, you just repeat add blobs as above with each their own unique Content-ID you can then use as img src tags in your HTML code.

    All this is not tested and I leave you to encapsulate in a procedure and to BLOB handling etc.
    But you get the idea, I am sure - just mix your solutions with Billys ;-)

Maybe you are looking for

  • 31.0 Firefox upgrade hangs on a particular Web site.

    Hi all Since a few days now that I've tried to understand why the http://schallcreative.com crashes after I've upgraded to Firefox 31.0 without success. I am running Firefox 31.0 on Mavericks. I tested it on Windows and Firefox 31.0 and it displays f

  • HP Pavilion P7-1155: Installation of new graphics cards hp p7-1155

    I have a new EVGA GEFORCE GT730 2 GB GDDR5 graphics card and am ready to install it in the box above. Haggiscat suggested this card through a previous post on this site. I printed the directions of installation of help from hp and I so the mechanics

  • PCIe-8381 corrupter BIOS

    I have a PCIe-8381 on one card motherboard chipset Intel. Problem occurs after the marketing of the SMU-1065 chassis, then the PC. PC reports BIOS is damaged and recharging before starting without any additional problems. Everything seems fine, Max w

  • random numbers

    How to generate random binary number "16-bit"?

  • Try to xfer files of old comp. again via CD; Comp. new does not read CD.

    I copied some files from an old computer to a CD in order to transfer said files to a newer computer.  However, I can't recognize all the files on the CD-ROM of the newer computer.  Two computers using Windows XP.