Need  to send mail  thro procedure

Hi ,
I need to send a mail when a procedure fails .I was trying to use utl_smtp package . i just took a sample code available and was trying to work with it as thi s is first time iam using this package .iam getting a error ora-29278.Could u please tell me what is this error , how correct it .Could u please what are things i would need to write a procedure to send mail

procedure to mail

Similar Messages

  • Need to send mail & upload files using JSP

    hi, got a lot of issues,.. just starting out as a developer.. so here goes.
    1st Need to send mail & upload files to server using JSP(tomcat).. an example to demo it would be nice.
    thanx in advance

    Look at this for email:
    http://forum.java.sun.com/thread.jspa?forumID=45&threadID=285950
    and go to:
    http://servlets.com/cos/
    for a package to upload files.

  • NEED TO SEND MAIL FROM FORMS...

    DEAR ALL,
    I NEED TO SEND MAIL FROM FORMS WHEN I PRESS THE MAIL BUTTON.
    I HAVE NO IDEA FOR THIS CRITERIA. IF ANY ONE EXPERIENCED WITH
    THIS CRITERIA, PLS HELP ME AND GIVE ME THE CODING FOR THAT.
    AND ALSO PLS EXPLAIN EACH LINE OF CODING, WHICH U POST.
    THANKS IN ADVANCE
    S.BERNANDAS

    Your requirement can be done in forms. Good amounts of advice here. There 244 messages this year alone that fit the search criteria in the Oracle Forms forum.

  • Need to send mail using apex

    Hi,
    I am using apex 4.2 and oracle 11g XE. I need to send mail so I used the following code:
    HTMLDB_MAIL.SEND(
          P_TO       =>  '[email protected]',
          P_FROM     =>   [email protected]
          P_SUBJ     =>  'Data in TECHNICAL_DETAIL edited' ,
          P_BODY     =>  'Please click link below for affirmation/rejection of changes' ,
          P_BODY_HTML=>   '<p><a href="http://localhost:8080/apex/f?p=109:25:12079147455079">link</a></p>'
    It is going t apex_mail_queue successfully. Then I used the following code:
    which one i should use:
    1.
         wwv_flow_mail.push_queue(
            P_SMTP_HOSTNAME => xxx
            P_SMTP_PORTNO => 'yyy
    or
    2.
         APEX_MAIL.PUSH_QUEUE(
            P_SMTP_HOSTNAME => xxx
            P_SMTP_PORTNO => yyy
    Also what else I need to send mail and what should i  ask DBA to provide me so that mail can be sent successfully.
    Please give some idea.
    Thanks,
    Chandra Bhanu

    Hi,
    You should use APEX_MAIL.PUSH_QUEUE witch is documented
    APEX_MAIL
    Parameters
    Description
    p_smtp_hostname
    SMTP gateway host name
    p_smtp_portno
    SMTP gateway port number
    Note that these parameter values are provided for backward compatibility, but their respective values are ignored. The SMTP gateway hostname and SMTP gateway port number are exclusively derived from values entered on the Manage Environment Settings when sending email.
    Regards,
    Jari

  • Need to Send Mail from JSP...

    Dear Team,
    I Need to Send Mail from JSP, have Designed user Interface to enter
    to, from, subject, and message text .
    Have Downloaded mail.jar and activate.jar file..... and placed in tomcat lib directory and WEBAPPS/WEB-INF/lib Directory too
    How do i send a mail to user ?
    do I require something else apart from things that i have mentioned?
    do i have to Configure SMTP, POP3 or Something like this....
    Now If I Create a object of Type MimeMessage and Set Recipient, from, subject and if i say transport.send(message) will this do My JOB???

    Dear Team,
    I Need to Send Mail from JSP, have Designed user
    Interface to enter
    to, from, subject, and message text .
    Have Downloaded mail.jar and activate.jar file.....
    and placed in tomcat lib directory and
    d WEBAPPS/WEB-INF/lib Directory too
    How do i send a mail to user ?
    do I require something else apart from things that i
    have mentioned?
    do i have to Configure SMTP, POP3 or Something like
    this....
    Now If I Create a object of Type MimeMessage and Set
    Recipient, from, subject and if i say
    transport.send(message) will this do My JOB???Yup! in addition to all the above i need to know my mail box outgoing mail server. and that's enough...... i am able to do that.
    Regards,
    Jagadeesh HS.

  • Need to send mail to user while clicking update button

    Hi
    I am new to APEX.
    I have a requirement. When clicking an update button the a mail should automatically send to user mentioned in the form. How can i achieve this. Please help.
    Regards
    Hisham.A

    Hi,
    Do not create duplicate post about same problem
    Re: need to send a automatic mail to an id while clicking a button
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Need to send mail from Microsoft Exchange 2007 account(different from Gmail) on behalf of another Gmail ID. How to configure that ?

    I have a Gmail ID (e.g [email protected])
    I have a Exchange ID (e.g  [email protected])
    I need to configure exchange account (2007)  such that I can send a mail from my Exchange account but at the receiver end it looks like it was sent from  ([email protected]).
    Both the accounts are my accounts.
    I need this because I do not have access to my Gmail account from place where I access the internet and I need to send the mails from my Gmail account only.

    So you want to spoof your e-mail address.
    You can make your Exchange server send as any address you want.  Just create a different mailbox with that address as the primary (reply) address.  It has to be a different account.
    However, be aware that many systems to which you send such mail to will bounce it as suspected spam because they'll detect that your server is sending mail from Gmail but your server is not Gmail.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Personal data change in PORTAL (PA30) - need to send mail notification

    Hi,
    When there is any change in personal data on PORTAL need to send a mail notification to the respective agents. I was able to design the workflow in such a way that , whenever there is any change in the personal data (Ex. Marital status) it trigger an event and workflow starts, inturn it send mail to external system and sap Userid.
    The question is ?
    1. If the personal data is changed from the portal , does it trigger the same event in the backend ? does 
        it  start my workflow?
    Thanks!
    Richard A

    Hello Richard,
    In my opinion same event is triggered. You can check it in transaction SWEL.
    Please have a look at the following threads more more detailed information,
    Workflow is not trigerred from the portal
    /thread/113450 [original link is broken]
    /people/alan.rickayzen/blog/2003/10/13/workflow-in-the-enterprise-portal
    Best regards,
    Abir.

  • Concurrent Error Alert Need to send mail

    Hi Everybody,
    My Requirement:_
    if any concurrent program completed with error, it need to send an mail alert notification to the users.
    My Environment:_
    OS : OEL4U5
    DB : 9.2.0.8
    Apps Version : 11.5.10.2 (with ATG RUP 7)
    Steps i have done:
    1) OS level Mailer configured and am able to send a mail.
    2) From the application level regarding workflow notification all the services are up and running and am able the receive test mail from application to my mailer account.
    Issue:
    For alert configuration i referred this mention meta-link id *"How To Send A Notification For A Failed Concurrent Request [ID 730657.1]"*
    But for me it showing an error in alerts *"System Alerts are disabled because of following: Logging is disabled"*
    for this log disabled issue i referred this doc but in my case its not worked *"System alerts in OAM are disabled because of the following:Logging is disabled [ID 455937.1"*
    Kindly suggest me to step forward
    Regards
    Athish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi ,
    Now am able to receive the error concurrent alert to the user mail perodically.
    Referred Metalink Doc:
    How to send a Concurrent Program Error Exception Report as a notification to users using Alerts [*ID 396756.1*].
    Issue Currently Facing:_
    If i run the Periodic Alert Scheduler concurret program in alert manager manually am able to receive the error concurret report with log file to the user mail id.
    At the same time if i schedule this Periodic Alert Scheduler concurret program for every *10 minutes* am not receving any error concurrent report and logfile to user mail id.
    Kindly Suggest me i need to schedule this Periodic Alert Scheduler concurret program perodically for every 10 minutes at the mean time error report mail need to receive for users mail id.
    Regards
    Athish.
    Edited by: Athish on Mar 20, 2012 6:04 AM

  • Why everytime i need to send mail from my phone it is asking for my apple ID ?

    how come since I updated my phone, every time I need to send new e-mail it is asking me for my apple ID ?

    Settings > Messages > Send &amp; Receive > Start New Conversations From > select your cell phone number.

  • Self registration & needs to send mail from admin to user.

    Hi friends,
    system needs to  send an e-mail from the administrator to the user, informing the user that self-registration was successful.
    i have made the congifuration as mentioned on sap help. i mean "ume.notification.
    selfreg_performed = TRUE"
    but still the user not getting emails automatically.
    can any one assist me on this case.
    thanks,
    udhaya.

    Hi Michael,
    i had done the self registration and email notification successfully thanks for your help & all also for all who helped me.
    But i have a small doubt notification mail "user successfully created" going to the Guest user from administrators mail, but administrator account not getting any mail. i need to get that mail in our administrator inbox. how to get this mail.
    Please assist me.
    thanks,
    Udhaya.

  • Need help: Sending mail to internet address without commit work statement

    Dear Experts,
            I have a problem in sending mails from sap to internet address.Am using the function module
    SO_NEW_DOCUMENT_SEND_API1 and am passing parameters like,
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
         EXPORTING
              DOCUMENT_TYPE  = 'RAW'
              DOCUMENT_DATA  = DOC_CHNG
              PUT_IN_OUTBOX  = 'X'
         TABLES
              OBJECT_CONTENT = OBJCONT
              RECEIVERS      = RECLIST
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
              DOCUMENT_NOT_SENT          = 2
              OPERATION_NO_AUTHORIZATION = 4
              OTHERS                     = 99.
    submit rsconn01 with mode = 'INT'
                        with output = 'X'
                        and return.
    My problem here is,with the commit work statement after FM, the mail is triggering correctly.but if, am not using the commit work statement,at the very first time of execution mail is not triggering, and the second time of execution first mail is triggering like wise it is going.The status of the message is waiting in queue.
    i have refresh receiver's list also.I want to use this concept in badi.So anyone can pls help me,how to send a mail without commit work statement.
    Thanks in advance.

    There is a parameter Commit_Work pass it as 'X'
    <code>
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
    DOCUMENT_TYPE = 'RAW'
    DOCUMENT_DATA = DOC_CHNG
    PUT_IN_OUTBOX = 'X'
    commit_work = 'X'
    TABLES
    OBJECT_CONTENT = OBJCONT
    RECEIVERS = RECLIST
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    submit rsconn01 with mode = 'INT'
    with output = 'X'
    and return.
    </code>
    Edited by: Saravanan Ramasamy on Nov 11, 2009 1:31 PM

  • File to Idoc .If order is their need to send mail

    Hi All,
    I have scenario like this.
    Sending file (order) to SAP -IDoc
    I using RFC lookup .There is funtion module which has been developed in SAP R/3 it contains 5 import parameters and return SUBRC.
    If the result is  subrc = 4
    This is the normal situation and the order / idoc should be
    generated as normally.
    If the result is subrc = 0
    Now we are in a situation where  we earlier have received this order.
    Instead of generation an IDOC, an email must be send to respective persons with contents
    SUBJECT: We have already received this EDI -order before.
    And the mail should contain following:
    We have already received this EDI-order before.
    Purchase order no:      <value of purchase order no>
    Sold-to:                <value of sold-to>
    Salesorganisation:      <value of salgsorganisation>
    Distribution channel:   <value of distribution channel>
    Division:               <value of division>
    Note : BPM not recomended
    Thanks
    MMV

    Hi,
    Check the following link
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    it is possible to configure the mail adpater to send attachemnts without any ABAP coding. Just check out these
    blogs by michal that deal with the mail adapter,
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    You can also check these links on SAP help for configuring the mail adapter,
    http://help.sap.com/saphelp_nw04/helpdata/en/ad/bf93409c663228e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    Please reward points if it helps
    Thanks
    Vikranth

  • Need to send mail from new infotype

    Hi,
    i must send email notification when i new PA specific infotype is created/changed.
    Finally, i don't think worflow is the best way... but i don't know where i must implemented my code, i've tested this idea by modifying the PAI but it don't work, e-mail is not sent, but function is correct, if i test it it's ok.
    Cheers

    Hi ,
         I came across the same requirement 2 yrs back and i have done it with workflow. You need to create a workflow
    with a single task which sends the mail to corresponding person .
          I forgot the Business Object name , but it was containing an event "CREATED".  When ever a new infotype is created , this event is triggered which inturn triggers WF and the mail is sent.
    Reward points if the info. is useful to you.
    Regards,
    Vijay

  • Help Needed for Sending Mail

    Hi Friends,
    I am Ravi Maheshwari from India. I am working on a project where we have to take the feedback from the customer/visitors. For that i have design the feedback from and where i have specified our server mail address where that feedback should come.
    But when I click on send feedback button it opens the MS-Outlook with all the information and ask to send the mail, it is not sending it directly. so what should i do so it will send the mail directly.
    Please help me as This page will go live so early.
    Thanks in advance.
    Regards
    Ravi Maheshwari

    Well, I guess you will need to provide some script or servlet you can send the HTTP form request to, that then composes an e-mail, connects to a mail server and sends it...
    If all you know is HTML, you'll have a huge lot to learn.

Maybe you are looking for

  • How to catch clicking a radiobutton action?

    Hello! I want to disable some components within a screen after I click a radiobutton, but I don't know how to catch the clicking radiobutton action (or event?). Could anyboby give me some ideas? Thanks in advance! kt

  • GUI TextArea

    I have a GUI class (as follows) my problem is that i can't change the text in it appart from at the constructor stage. The bold text in the constructor works fine, but the bold line at the bottom doesn't put the text i want in the textarea, i get a n

  • Existing DLL

    Hi guys. Ive done a succesfully some JNI examples on the web. I have a c++ application together with the dll given. I do not know how to implement JNI onto the application. anyone can help me in this? btw the c++ is an AXIS camera API application. th

  • Server 2012 RDS (Terminal Clients)

    Hi, I need help & guide on terminal clients internet access.  Q1: How do i enable only 1 terminal client out of 20 current running windows RDP to have access internet? Q2: When I need to enable internet access for the terminal client, do i need to en

  • Exporting full video after it has been clipped?

    I was trying to trim a video using iMovie and it plays fine there. However, when I go to export it to my desktop, it moves the full video (which I don't want, I'm trimming it for a reason). What am I doing wrong?