Need to send a mail from a specific From mail ID thorgh specific Mail serve

Hi,
If any errors occured in my interface validation program(plsql) I need to send mail to some mail ids,
But I need to use specific from mail id and mail server.
I have no idea of Shell scripting, I tried it with plsql itself but not worked. My Application server is different from DB server.
Please let me know if any one has the code or any thoughts.
Thanks

Please see these links.
https://forums.oracle.com/forums/search.jspa?threadID=&q=UTL_SMTP&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Send+AND+email+AND+PL%2FSQL&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Email+AND+PL%2FSQL&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein

Similar Messages

  • Need to send a mail while safty stock goes down

    Dear experts,
    I Need to send a mail to concern persion while stock goes down from safty stock. We plan to put a check at the point of MARD table updation, Because we not able to put a check at the all transaction codes, So please LET ME KNOW HOW TO PUT A CHECK AT STANDARD TABLE UPDATION?
    Thanks in adv,
    jayakumar.M

    Hi Jai,
    According to my understanding,
    As soon as the stock goes down from the safety stock a mail should be triggered.
    Probable solution (in my opinion)
    create a flag in the table set it whenever the stock value goes down.
    make calculations like (safety stock as today - safety stock previous date) = 0 if not set the flag and construct a workflow withe receiver settings based on the flag field and trigger a mail to the concerned person.
    This is just my idea.
    Try it and revert
    Thanks and Regards
    Srikanth.P

  • Any changes in PA30 need to send a mail to the Managers outlook inbox

    Hi,
    Any changes in PA30 (ESS) need to send a mail to the Managers outlook inbox  .
    Kindly let me know the Standard workflow template and  to built the Custom function module in Rule .
    Thanks in advance,
    Richard A

    <i>Any changes in PA30 (ESS) need to send a mail to the Managers outlook inbox</i>
    If its just an email do u need a workflow for it? Configure dynamic actions which will call a subroutine when a change is made to the infotype and send email from that subroutine using SO_NEW_DOCUMENT_SEND_API1.(you can include the necessary logic for determining the approver in the same subroutine).
    Thanks,
    Prasath N

  • Need to send HTML email from Workflow : problem with sender

    Hi all,
    i need to send HTML email from my Workflow. I did it but i have a problem with the sender. The sender of email is always the agent responsible of workitem, and i don't want the receiver can answer to sender. So i need to put a false email address like nosender.at.mycustomer.com.
    Possible to do that ?
    Thanks for your help.
    Cheers

    Hi rick
    How to change the wf-batch to some other name  as you mention in previous reply. Can you give some details of that. If i use the function module SO_NEW_DOCUMENT_ATT_SEND_API1 how to change the wf-batch name and if i use send mail step in my workflow how to change wf-batch name.
    Regards
    vijay

  • Need to send a mail while safty stock goes down compare with actual stock

    Dear experts,
    I Need to send a mail to concern persion while stock goes down compare with safty stock. We plan to put a check at the point of MARD table updation, Because we not able to put a check at the all transaction codes, So please LET ME KNOW HOW TO PUT A CHECK AT STANDARD TABLE UPDATION?
    Thanks in adv,
    jayakumar.M

    Your best bet may to be place your check in the a user exit for goods movements.  The enhancement is MB_CF001, the component is EXIT_SAPLMBMB_001.
    Hope this helps,
    Mark

  • Need an enhancement after releasing a PO Need to send a mail to vendor

    Hi all,
              I am having a requirement that, need to send a mail and attachment whenever a PO get released.
    Can anyone help to find the enhancement for to write the code to send a mail to vendor.
    Regards.
    Ranganadh.

    Hi,
    To send a mail when a new PO is created.
    can be achievd by using  class cl_bcs and BADI method
    IF_EX_ME_PROCESS_PO_CUST~POST of BADI ME_PEOCESS_PO_CUST.
    We can aslo configure the OUTPUT TYPE as MAIL in transaction NACE. This is usually doen by the Functional consultant.
    Pls look into these exapmles which clearly explains abt the process of sending a  mail-
    Sending Mail using class cl_bcs
    Re: Mail sending program
    Re: SCOT and FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • While creating Purchase Requisition we need to send a mail for approvers

    Hi All,
    While creating Purchase requisition we need to send a mail to approvers.
    Dowe  need to create Function module ?
    if You know the steps can you please give me the steps.
    Thanks In advance
    Sriman.

    Hi Sriman
    Here we can try for 2 approach
    one is workflow and other his sending emails via user exit.
    I am not much aware about workflow, but you can explore for user exit.
    Try for enhancement component 'MEREQ001'.
    let me know, if you need further help
    Regards
    MD

  • When needing to send an email from Pages a new email document does not come up. PDF

    When needing to send email document from Pages when I hit Share, send via email then PDF no new email document comes up. Please advise.

    Chances are you have an "illegal" character in the file name such as a / or *.

  • Need to send a email alert to Projectmanger when publishing a project in project server 2010 PWA site

    Hi All
    When creating and publishing a project in PWA(server 2010) need to send a mail alert to the concerned project manager.
    How can i achieve this..
    I have configured the outgoing mail sending in sharepoint and its working fine now.
    Please help me..
    Thanks Advance
    SharePoint Module Lead Assyst International Private Ltd Cochin India

    Nothing is built in Project Server to do this for you automatically.
    They way I have done this in the past is to create a SQL job using SSIS.  It runs every hour and when it sees a project schedule that has a recent PUBLISHED date then this is a trigger to send an email to project manager.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Send encrypted data from oracle 11g to Ms SQL Server 12

    Hi every body,
    we want to send encrypted data from oracle 11g to Ms SQL Server 12:
    - data are encrypted to oracle
    - data should be sent encrypted to Ms SQL server
    - data will be decrypted in Ms SQL server by sensitive users.
    How can we do this senario, any one has contact simlare senario?
    can we use asymetric encription to do this senario?
    Please Help!!
    Thanks in advance.

    Hi,
      What you want to do about copying data from Oracle to SQL*Server using insert will work with the 12c gateway.  There was a problem trying to do this using the 11.2 gateway but it should be fixed with the 12c gateway.
    If 'insert' doesn't work then you can use the SQLPLUS 'copy' command, for example -
    SQL> COPY FROM SCOTT/TIGER@ORACLEDB -
    INSERT SCOTT.EMP@MSQL -
    USING SELECT * FROM EMP
    There is further information in this note available on My Oracle Support -
    Copying Data Between an Oracle Database and Non-Oracle Foreign Data Stores or Databases Using Gateways (Doc ID 171790.1)
    However, if the data is encrypted already in the Oracle database then it will be sent in the encrypted format. The gateway cannot decrypt the data before it is sent to SQL*Server.
    There is no specific documentation about the gateways and TDE.  TDE encrypts the data as it is in the Oracle database but I doubt that SQL*Server will be able to de-encrypt the Oracle data if it is passed in encrypted format and as far as I know it is not designed to be used for non-Oracle databases.
    The Gateway encrypts data as it is sent across the network for security but doesn't encrypt the data at source in the same way as TDE does.
    Regards,
    Mike

  • Response from webservice needs to send as Mail content

    Hello,
    i have to configure a scenario as given below
               IDOC --> JDBC --> WebService and response from WebService to SMTPmail receiver.
    now i got strucked at Webservice response. after i got the response from WebService(SOAP), i need to send the both Request and response to Mail Receiver. So Please let me know how to capture request and response both to my SMTPmail adapter(as content or attachment).let me know the steps to proceed for SMTPmail Receiver
    Regards,SARAN

    Hi Raj,
    Thanks for teh reply.
    i have already configured teh above mentioned scenario.but i am not able to get Request and response.
    Could you pelase provide teh steps how to configure BPM in this scenario..(as ia m not handson with BPM)
    Reagrds,Saran

  • Need to send a mail when job window time is over

    Hi ,
    select * from v$version;
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    ========
    I have created a job using dbms_scheduler.create_job with a 1 hour window ( created using dbms_scheduler.create_window ) .
    My job triggers a stored procedure . Now I have a send_mail code at the end of the stored procedure which sends a mail with plsql log as an attachment . When my job runs more than 1 hour the stored proc is getting stopped and not triggering the mail though I put the same code in exception block ( exception when others ) .
    CREATE OR REPLACE PROCEDURE my_sp
    AS
    BEGIN
    -- some code ---
    begin
    -- send mail --
    end
    EXCEPTION
    WHEN OTHERS
    THEN
    send mail ( Can I get this piece when window time is over )
    END;
    Is there any other way I can run the last piece of the proc (send_mail) .
    Thanks ,
    Mahesh

    Mahesh wrote:
    Folllowing below note .
    http://download.oracle.com/docs/cd/E14072_01/server.112/e10595/scheduse008.htm
    but need to attach a file .
    SQL> desc utl_mail
    PROCEDURE SEND
    Argument Name               Type               In/Out Default?
    SENDER                VARCHAR2          IN
    RECIPIENTS               VARCHAR2          IN
    CC                    VARCHAR2          IN     DEFAULT
    BCC                    VARCHAR2          IN     DEFAULT
    SUBJECT               VARCHAR2          IN     DEFAULT
    MESSAGE               VARCHAR2          IN     DEFAULT
    MIME_TYPE               VARCHAR2          IN     DEFAULT
    PRIORITY               BINARY_INTEGER          IN     DEFAULT
    REPLYTO               VARCHAR2          IN     DEFAULT
    PROCEDURE SEND_ATTACH_RAW
    Argument Name               Type               In/Out Default?
    SENDER                VARCHAR2          IN
    RECIPIENTS               VARCHAR2          IN
    CC                    VARCHAR2          IN     DEFAULT
    BCC                    VARCHAR2          IN     DEFAULT
    SUBJECT               VARCHAR2          IN     DEFAULT
    MESSAGE               VARCHAR2          IN     DEFAULT
    MIME_TYPE               VARCHAR2          IN     DEFAULT
    PRIORITY               BINARY_INTEGER          IN     DEFAULT
    ATTACHMENT               RAW               IN
    ATT_INLINE               BOOLEAN           IN     DEFAULT
    ATT_MIME_TYPE               VARCHAR2          IN     DEFAULT
    ATT_FILENAME               VARCHAR2          IN     DEFAULT
    REPLYTO               VARCHAR2          IN     DEFAULT
    PROCEDURE SEND_ATTACH_VARCHAR2
    Argument Name               Type               In/Out Default?
    SENDER                VARCHAR2          IN
    RECIPIENTS               VARCHAR2          IN
    CC                    VARCHAR2          IN     DEFAULT
    BCC                    VARCHAR2          IN     DEFAULT
    SUBJECT               VARCHAR2          IN     DEFAULT
    MESSAGE               VARCHAR2          IN     DEFAULT
    MIME_TYPE               VARCHAR2          IN     DEFAULT
    PRIORITY               BINARY_INTEGER          IN     DEFAULT
    ATTACHMENT               VARCHAR2          IN
    ATT_INLINE               BOOLEAN           IN     DEFAULT
    ATT_MIME_TYPE               VARCHAR2          IN     DEFAULT
    ATT_FILENAME               VARCHAR2          IN     DEFAULT
    REPLYTO               VARCHAR2          IN     DEFAULT

  • Information about arguments needed to send a mail

    Hi,
    I am very new to java mail. I am jus trying to send a mail using java mail. Can anyone please tell me wht are the command line arguments, tht i have to give in the following code.
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class MailExample {
    public static void main (String args[]) throws Exception {
    String host = "args[0]";
    String from = "args[1]";
    String to = "args[2]";
    final String username ="args[3]";
    final String password = "args[4]";
    // Get system properties
    //Properties props = System.getProperties();
    Properties props = new Properties();
    // Setup mail server
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth", "true");
    // Get session
    Session session = Session.getDefaultInstance(props,
              new javax.mail.Authenticator() {
              protected PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication(username, password);
    // Define message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    message.setFrom(new InternetAddress(from));
    // Set the to address
    message.addRecipient(Message.RecipientType.TO,
    new InternetAddress(to));
    message.addRecipient(Message.RecipientType.CC,
    new InternetAddress("[email protected]"));
    message.addRecipient(Message.RecipientType.BCC,
    new InternetAddress("[email protected]"));
    message.addRecipient(Message.RecipientType.BCC,
    new InternetAddress("[email protected]"));
    // Set the subject
    message.setSubject("Hello JavaMail");
    // Set the content
    message.setText("Welcome to JavaMail");
    // Send message
    Transport.send(message);
    }

    Hello,
    You can send mail with the status of the test catalog-
    specify a mail system to which Test Workbench test objects send messages to the people responsible
    Please refer the below link for more information:
    http://help.sap.com/saphelp_smehp1/helpdata/en/6a/88370a002911d2bd02080009b4534c/frameset.htm
    Regards,

  • Working in ECC 5.0..After approve, i need to send confirmation mail to all

    Hi,
    I am working in ECC 5.0...This is my requirement..
    After receiving the workitem approval message in managers inbox..after he approves/rejects,whatever approval i need to send back confirmation mail to Employee as well as payroll and admistrator and also two managers.
    Could u pls... how can i proceed with this scenario..
    Thanks and Have a nice day!!!
    Soni

    Hi Soni,
    We have handled a similar requirement in our project  , by writing a Custom function module for sending mails to Initiator, Payroll and managers approving the form.
    Actually we had created a custom function module for sending a mail.
    And this was called in one of the Method of the Business Object. (e.g: SENDMAIL - ZBUS7051 )
    and a background Step was defined in the Workflow template, which uses a task defined using the BOR Object - ZBUS7051 - SENDMAIL.
    Hope this helps.
    Regards,
    Raj

  • What are the prerequisits i need to send a mail using java mail

    i have a class file using javamail.
    I want to validate the email id's and send to particular address.
    will u please tell me the process and prerequisits to send the mail(like SMTP server,username ,password..)
    Please what actually username , password is ment in an authenticated javamail program.
    is it user account on SMTP server / email id
    Thanks.
    Prasantha Reddy C

    Hi,
    you need your smtp host address and smtp user name and password to send emails out.
    and yes the user name and password are the smtp username and password for authentication
    regards
    shyam

Maybe you are looking for

  • Itunes won't open get an immediate problem window please help

    I just recently did a complete system restore and have since got everything back together. I just tried last night to re-install intunes first with the start up disc and then through the itunes site. After both times downloading the program with no p

  • ABAP Program or transaction for hard workload testing

    Hello ABAPers, in my actual client we have the need of creating an error of memory overflow or Database workload overflow. I think I once saw an standar program that replicates this kind of overflows. But I can´t remember or find this program. May be

  • My iBook Flash and Youtube Tips!

    Welcome! I noticed that a lot of people are having problems with Youtube/Adobe Flash, and I have managed to get it working at a fairly decent speed by doing the following things. This thread is just for the tips that I have gathered, and those of any

  • [svn:bz-4.x] 16147: Fix a few more regression tests on the 4. x branch that were failing when using Spring integration.

    Revision: 16147 Revision: 16147 Author:   [email protected] Date:     2010-05-17 06:18:38 -0700 (Mon, 17 May 2010) Log Message: Fix a few more regression tests on the 4.x branch that were failing when using Spring integration. Modified Paths:     bla

  • Run Mailsmith as a service?

    I am running a Snow Leopard Server and was hoping to run my Mailsmith client as a service, so that it ran all the time regardless of who was logged in, if anybody, so I can process my mail at anytime. Currently I have to have a user logged in all the