Timer Job to send e-mail

Hi, 
I am a newbie in SP2013. I have a task to crate a Timer Job that send e-mail to specific people and in specific time. My situation: there is list "Task for developer" with only 2 field "Developer" - people or group field and "Date"
- date field. Time Job should check current date and date from "Date" and if it current data = "Date" the message to people from "Developer" should be send. 
I have never worked with Timer Job. As I uderstand TJ it include some steps:
1) Connect to my site
2) Get my list "Task for developer"
3) Get all item from list
4) Check the field "Date" of all items 
5) If current data and "Date" are equal to get all people from "Developer" and formed message.
If I correctly understand help me please to realise it in VS C#.
P.S. Workflow doesn't offer :)
Tank you for any reply :)

This has been asked before if you googled it or used search
Take a look
here
Also
here
If this is helpful please mark it so. Also if this solved your problem mark as answer.

Similar Messages

  • Scheduling a job to send e-mails in Oracle 10g

    Hi,
    Our application has a scheduled job that runs every hour to fetch data from another application. The SP which this job calls has logic to send e-mails at various stages of the job execution about the status of the job execution. Sometimes, the e-mails are failing due to an SMTP transient error on the server, and thus the job hangs in the RUNNING state.
    We were asked to bypass sending the e-mails, and implement that as a separate job. But the problem is that the e-mails are triggered based on some conditions during the main job's execution. So, how is it possible that I can implement just the e-mail thing as a separate job.
    Our main job is like below....
    1) Job starts -> Send e-mail#1 that the feed started
    2) Extract completed and some tables updated-> Send e-mail#2
    3) Load to few other tables happened
    4) Final Merge to production tables completed -> Send email#3 that the feed is over.
    Now, since email #1,2,3 are based on conditional check, how feasible is it to implement these are separate jobs?
    Is there any other way that runs the main job even though sending e-mails gets stuck somewhere?
    Any help is highly appreciated.
    Regards,
    Ranganath

    Hi,
    Can I do something like below. My main job calls a procedure (PRC_SEND_NOTIFICATION) which takes 4 parameters and sends out the e-mails. Now I'm trying to implement sending out the e-mails as a separate job.
    -- Run the below Procedure in place of PRC_SEND_NOTIFICATION in the main job.
    PRC_EMAIL_JOB ('PRC_SEND_NOTIFICATION (param1,param2,param3,param4)' );
    -- Inside the PRC_EMAIL_JOB SP submit the procedure as a job
    CREATE OR REPLACE PROCEDURE PRC_EMAIL_JOB (PROC_NAME IN VARCHAR2)
    IS
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'Send Email',
    job_type => 'STORED_PROCEDURE',
    job_action =>PROC_NAME || ';', -- What to run
    start_date => SYSDATE, -- Start right away
    repeat_interval => NULL ,-- Run only once
    comments => 'Send an email',
    enabled => TRUE
    COMMIT;
    END;
    Does this new job get dropped as soon as it finishes (as the repeat interval is NULL). So when the main job runs again, this new job gets created again and runs. This is my understanding. Correct me if I'm wrong. Any help is highly appreciated.
    Regards,
    Ranganath

  • HT5312 Every time I click send e-mail for instructions on resetting my security questions, I don't get them? I just want to play minecraft. I already put $15 in my balance and I can't even spend it. Thank you for taking the time to read this.

    Why is it, every time I click send e-mail for instructions on resetting my security questions, I don't get them? I just want to play minecraft. I already put $15 in my balance and I can't even spend it. Thank you for taking the time to read this.

    Either they're being sent to a different email address, or got caught in a spam filter, or something's wrong at Apple's end. If you can't find the email, you need to ask Apple to reset your security questions, which can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    (105723)

  • Database job to send e-mail

    Hi All,
    I have a database job to send e-mail.

    That's great!
    We have one too!
    But no further questions/problems?
    Edited by: hoek on Mar 24, 2009 5:51 PM

  • This is the second time I cannot send my mail out

    I have yahoo mail but use the apple mail at the bottom of my scress.  This is the second time this week that it tells me cannot send mail outgoing
    server is wrong.  I checked the diagnostic doct and all the dots are green.  What is going on?

    Hello Jocko64,
    It sounds like you are unable to send email from your Mail account and you have already used the Connection Doctor to help troubleshoot. Based on that, I would next remove the email account:
    Open Mail (click it on the Dock or open it from the Applications folder).
    From the Mail menu, choose Preferences..., or press Command-, (the Command and comma keys).
    Click the "Accounts" icon.
    Select the account you wish to remove.
    Click the "-" (minus) icon. You will be alerted that "The account's setup information, mailboxes, messages, notes, and to do's will be deleted permanently from your computer."
    If you are sure you want to remove the account and email messages from your computer, click "Remove" to complete this process.
    From: Configuring Mail for your email account
              http://support.apple.com/kb/ht1277
    Then restart your computer, and re add the account and test the issue again.
    Open Mail (click it on the Dock or open it from the Applications folder).
    If the "Welcome to Mail" assistant does not appear, choose Add Account from the File menu.
    Fill in the Full Name, Email address, and Password fields.
    Note: Your email account password will be stored in Keychain to allow you to automatically log in to your email account when you open Mail.
    Deselect "Automatically set up account" if it is enabled. Click Continue to proceed.
    Choose the proper Account Type.
    Give your account a useful description, such as "Anne's Gmail account" or "Juan's Yahoo! email account". It can be called whatever you want.
    Enter your Incoming Mail Server, User Name and Password. Click Continue to proceed.
    If prompted, enter your Incoming Mail Security settings. Click Continue to proceed.
    For Outgoing Mail Server, a useful description such as "Gmail Outgoing Mail Server" or "Yahoo! Outgoing Mail Server".
    Enter the Outgoing Mail Server details.
    If necessary, select "Use Authentication" and enter your User Name and Password. Click Continue to proceed.
    If prompted, enter your Outgoing Mail Security settings. Click Continue to proceed.
    Verify your settings in the Account Summary. Check "Take account online". Click "Create" to complete the process.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Not able to send mail in a custom timer job

     
    Hi,
     I have implemented a custom timer job to send a mail when a list data field is equal to the current date.
    I have debugged the code in VS and it is executed correctly if I am using it in a button click event of a webpart .
    But problem is its not sending the mails while I am appling the same code as a timer job.
    Can somebody help me out?
    BR,
    Sudhir

    Hi Sudhir,
    I agree with Martin, you definetly need to log what happens inside the timer job.
    I suggest to always use a try / catch block within the methods of your assembly, and trace out (using System.Diagnostics.Trace, http://msdn.microsoft.com/en-us/library/system.diagnostics.trace.aspx and its methods for example, TraceInformation http://msdn.microsoft.com/en-us/library/system.diagnostics.trace.traceinformation.aspx) the exceptions if happen. Also, it is good practice to trace out each entry and exit points. Use the WinDbg (http://msdn.microsoft.com/en-us/library/cc266321.aspx, http://windbg.dumpanalysis.org/) to catch the output.
    You can redirect the trace output to file (see <listeners> Element for <trace> http://msdn.microsoft.com/en-us/library/zh3a61fw.aspx, and Trace Listeners http://msdn.microsoft.com/en-us/library/aa983739(VS.71).aspx)
    You can even write your log messages to SharePoint Unified Logging System as described here:
    SharePoint: Writing messages to ULS (Unified Logging System)
    http://weblogs.asp.net/gunnarpeipman/archive/2009/02/25/sharepoint-writing-messages-to-uls-unified-logging-system.aspx
    Peter

  • LDAP - Could not send e-mail

    Hi guru
    We used SAP MDM 5.5 SP 6 (64.92)
    In workflow we use e-mail notification, when SAP MDM Server work without LDAP e-mail is sending.
    When we load SAP MDM Server with LDAP, every time when we send e-mail we get error "Could not send e-mail "
    Sender and Receiver Users and their e-mail adress is exist in LDAP and right.
    Moreover, we test sending e-mail from Server(where installed SAP MDM) through telnet for the same users and same e-mail adress(which precent in LDAP) - all work OK.
    Question:
    How we should configure SAP MDM Server for e-mail notification work correctly when it work through LDAP?
    Regards
    Kanstantsin Chernichenka

    Hi Vinay M.S
    Thank you for your answer, but
    Really, in our case mail server attribute was named as "mail" and it exist in mds.ini (but that is not standart name for all ADs)
    My another question: Why e-mail notification doesn't work from workflow in LDAP for all users?
    Additiona information:
    We have ~30000 users in AD but in MDM we used only ~500 from it.
    For test we created 3 simple workflows with e-mail notification block:
    1.Launcher set as user which name starting from symbol "B"
    2.Launcher set as user which name starting from symbol "P"
    3.Launcher set as "Launcher"
    We set as receiver the same user for all workflows.
    In 1 case e-mail notification is OK
    In 2 case e-mail notification isn't work and we got error "Could not send e-mail" in workflow report. but username and sender receiver e-mail is right
    In 3 case  e-mail notification from user which we started workflow  is OK (and for user which name starting from symbol "P")
    Any ideas?
    Regards
    Kanstantsin
    Edited by: Kanstantsin Chernichenka on Oct 2, 2009 1:35 AM

  • Looking a part-time job

    Dear all:
    I've use LabVIEW to develop test software more than 4years. I'm looking a part-time job now.
    E-mail: [email protected]
    ¤╭⌒╮ ╭⌒⌒╮
    ╱-◥?80?80◣ ╭ ╭
    ︱田︱田田|
    Boone Mail:[email protected]
    QQ:24732458
    QQ Group:13267790
    QQ Comp: 17756234
    ╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬
    Boone

    This thread is for posting of job openings, You will probably have better luck posting on the thread for those looking for positions.
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Once again, I have problems sending e-mails from my iPad 2. I have a telus account and I have dealt with their tech people and they have checked all my settings and everything is fine. Apple techs advised to open Gmail acct. and re-route through it? Why?

    I am having a difficult time trying to send e-mails from my iPad 2? I have contacted my Telus server tech people and we have double checked all my settings. Everything is properly set! Checked with my Apple people and they say this is a common problem with my server, yet others with the same server don't seem to have a problem. They suggested that I open a Gmail account and infor my mail server(Telus) to route my mail through my Gmail account? Does thei make sense? Are ther any other solutions I might investigate?

    Hi prettytoni,
    I saw one interesting solution to set a gmail account like as it is a "Microsoft Exchages" account... Maybe you can try to do the similiar with your Telus account? (I'm not sure about the result, but still you can try it))))
    here is the link:
    http://www.maclife.com/article/howtos/how_set_your_gmail_accounts_push_email

  • 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

  • Job to send all user their initial password by e-mail (one for the pros)

    Hello,
    (IDM 7.2 with MSSQL)
    I try to create a job that sends all user their "IDM-PASSWORD" via email.
    In the first step, I generate a random password for all user. This password should now be sent to each user so they can log in to IDM-UI.
    This is my approach:
    1. Step
    Define the source
    A Job with a to generic pass:
    SOURCE:
    SELECT DISTINCT mskey FROM idmv_vallink_basic_active WHERE mcidstore=1 AND
    ((mskey IN (SELECT mcmskey FROM idmv_vallink_basic_active WHERE mcattrname='MX_ENTRYTYPE' AND mcsearchvalue = 'MX_PERSON')))
    Destination:
    MSKEYVALUE = %MSKEYVALUE%
    JOB CONSTANTS:
             MAIL_SMTP_HOST = Host
             MAIL_SMTP_PORT = Port
             MAILATTRIBUTE   = MX_MAIL_PRIMARY
             MAILFROM         = MAIL....com
             NOTIFICATION     = blabla
             POSTTEXT         = </FONT><br><br>
             PRETEXT         = <FONT SIZE=5> blabla
    Script for mailing:
    function blödesMailding(Par){
    var userList = Par.get("MSKEYVALUE");
    var user = new java.util.Vector();
    user = uSplitString (userList, "|");
    var i = 0;
    var result;
    var emailAddress = "";
    var idStore = uGetIDStore();
    var emailAttribute = "%$MAILATTRIBUTE%";
    for (i=0; i < user.size(); i++) {
         emailAddress = uIS_GetValue(user.get(i), idStore, emailAttribute);
         result = UserFunc.uSendSMTPMessage("%$MAILFROM%", emailAddress, "%$NOTIFICATION% ", "%$PRETEXT% " + "%$POSTTEXT%", "%$MAIL_SMTP_HOST%", "%$MAIL_SMTP_PORT%", 1);
         if (result.length > 0) {
              UserFunc.uErrMsg(2, result + ":Mail to:" + emailAddress);
    return "";
    And here is the error message^^:
    Warning Constant MAIL_SMTP_HOST was not defined in the repository (-1)
    Warning Constant MAIL_SMTP_PORT was not defined in the repository (-1)
    Warning Constant MAIL_ORIGINATOR was not defined in the repository (-1)
    Warning Constant MAIL_DEBUG was not defined in the repository (-1)
    Warning Constant MAIL_DEBUG_RECIPIENTS was not defined in the repository (-1)
    I set all of these constats in the GLOBAL CONTANTS form ID store! 
    and here he also complains:
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Warning Could not send SMTP message to !ERROR:Entry does not exist using SMTP host mail.mymhp.net
    java.net.ConnectException: Connection refused: connect
    Maybe I made a mistake, or my solution doesn't work at all.
    I would be very glad if someone had an idea, or a better solution for this problem.

    M Pollicove wrote:
    > From the Job Folder you can access global constants, but I don't think you can access repository constants.  Re-work the script so it uses globals (making sure to set up the globals) and you should be fine.
    Both repository constants and global constants work in jobs, just study your initial loads to see the use of repository constants.
    Gerhard, do you have your correct repository defined in your pass/job? If you copy/pasted the pass the original repository might be still in the pass (done this a few times
    You should be able to access your global constants in scripts with notation like (without any built-in functions):
    var idStore = "%$glb.SAP_MASTER_IDS_ID%";
    Edited by: Tero Virta on Jan 13, 2012 9:40 AM

  • How to send a mail to the user when a job gets canceled?

    Hi experts,
                      I need to send a mail when a job gets canceled to the user.I know the FM for sending mail and i can find if a job is canceled from tbtco,but i want to know how to send the mail from the same program ,once it got canceled ?
    thanks in advance,
    helpful answers will be awarded with points
    regards,
    ashwin

    Hi Ashwin
    Use the below peace of code:
    REPORT ZBCJOBMONITOR .
    TABLES: SOMLREC90,
            TBTCO.
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: I_TBTCO    LIKE TBTCO OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
    SELECT-OPTIONS: S_JOB FOR TBTCO-JOBNAME.
    SELECT-OPTIONS: S_JOBC FOR TBTCO-JOBClass.
    SELECT-OPTIONS: S_REC FOR SOMLREC90-RECEIVER.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      CLEAR:    MAILDATA, MAILTXT, MAILREC, I_TBTCO.
      REFRESH:  MAILTXT, MAILREC, I_TBTCO.
      PERFORM GET_ABENDED_JOBS.
      PERFORM BUILD_RECEIVERS.
      LOOP AT I_TBTCO.
        PERFORM BUILD_TEXT_MESSAGE.
        PERFORM SEND_MAIL_NODIALOG..
      ENDLOOP.
         Form  BUILD_TEXT_MESSAGE
    FORM GET_ABENDED_JOBS.
      SELECT * FROM TBTCO
              INTO CORRESPONDING FIELDS OF TABLE I_TBTCO
                         WHERE JOBNAME IN S_JOB
                           AND STATUS = 'A'
                           AND JOBCLASS IN S_JOBC
                           AND SDLSTRTDT = SY-DATUM.
    ENDFORM.
         Form  BUILD_TEXT_MESSAGE
    FORM BUILD_TEXT_MESSAGE.
      DATA: DATE(10) TYPE C.
      DATA: TIME(10) TYPE C.
      MAILDATA-OBJ_NAME = 'MONITOR'.
      MAILDATA-OBJ_DESCR = 'Batch Job Monitor'.
      MAILDATA-OBJ_LANGU = SY-LANGU.
      CONCATENATE 'Job Name:' I_TBTCO-JOBNAME
                  INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      PERFORM FORMAT_DATE USING I_TBTCO-SDLSTRTDT
                                DATE.
      CONCATENATE I_TBTCO-SDLSTRTTM+0(2) ':'
                  I_TBTCO-SDLSTRTTM+2(2) ':'
                  I_TBTCO-SDLSTRTTM+4(2)
                     INTO TIME.
      CONCATENATE 'Start Date/Time:' DATE TIME
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      CONCATENATE 'Job Class:' I_TBTCO-JOBCLASS
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      MAILTXT-LINE = 'Job has terminated abnormally'.
      APPEND MAILTXT.
    ENDFORM.
         Form  BUILD_RECEIVERS
    FORM BUILD_RECEIVERS.
      LOOP AT S_REC.
        CLEAR MAILREC.
        MAILREC-RECEIVER = S_REC-LOW.
        MAILREC-REC_TYPE  = 'U'.
        APPEND MAILREC.
      ENDLOOP.
    ENDFORM.
         Form  SEND_MAIL_NODIALOG
    FORM SEND_MAIL_NODIALOG.
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = MAILDATA
                DOCUMENT_TYPE              = 'RAW'
                PUT_IN_OUTBOX              = 'X'
           TABLES
                OBJECT_HEADER              = MAILTXT
                OBJECT_CONTENT             = MAILTXT
                RECEIVERS                  = MAILREC
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                DOCUMENT_TYPE_NOT_EXIST    = 3
                OPERATION_NO_AUTHORIZATION = 4
                PARAMETER_ERROR            = 5
                X_ERROR                    = 6
                ENQUEUE_ERROR              = 7
                OTHERS                     = 8.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.
         Form FORMAT_DATE
    FORM FORMAT_DATE USING IN
                           OUT.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
                DATE_INTERNAL            = IN
           IMPORTING
                DATE_EXTERNAL            = OUT
           EXCEPTIONS
                DATE_INTERNAL_IS_INVALID = 1
                OTHERS                   = 2.
    ENDFORM.
    Regards,
    Sree

  • Sending log files for scheduled jobs as attachment through mail

    Hi All,
    Can any one please help me out to write a pl/sql program to send log files for scheduled jobs as attachment through mail.
    Thanks.

    Why would anyone do that as this code has already been posted here a thousand times, it is all over the Internet, and the only thing you need to do is to search for it?
    I agree it would cost you some effort, but you are getting paid for it, and we are not getting paid for delivering it on a golden plate on your doorstep, as you can not be bothered to use online resources.
    Sybrand Bakker
    Senior Oracle DBA

  • RPTARQEMAIL is sending e-mails 2 times

    We are starting RPTARQEMAIL and the other needed programs with a job every 15 minutes. The last month everything works fine. Since about 1 month every mail is sending 2 times.
    1. The job runs the first time and  RPTARQEMAIL is selecting the right requests to the right period. The RPTARQEMAIL reads the table PTREQ_BATCH perfect and is setting the PTREQ_BATCH perfect. The e-mails will be send.
    2. When the job runs a second time RPTARQEMAIL read the requests again. The form is starting with the right period, but the answer includes the requests of the last job. The e-mails for a old request will be send a second time.
    3. With the next job the requests from the first job are not more selected.
    Thanks for help.

    Hi SDN colleagues,
    I know that this post is quite old and marked as "Assumed answered", but since so far no solution was posted, and after dealing with a similar issue for a long time, I figured I'd post my solution for future reference:
    we experienced the same problem at a customer system: about 3/4 of the mails sent through RPTARQMAIL and RPTCORMAIL (mostly those to the requestor) were sent twice, on two successive program runs. Our POST and MAIL programs were initially scheduled to run every 15 minutes, as two sequential steps on the same job, but even a change to 1 hour did not solve the problem.
    After a while we noticed a certain pattern: requests with doubled mails were those which change to Status Posted (as visible in transaction PTCOR/PTARQ) occurred at the exact time that was marked as "Last run" of the email program on table PTREQ_BATCH. This meant that the items were valid for two successive intervals, thus the doubled mails.
    To solve the issue we separated the POST and MAIL steps in two different jobs that run with a time lag of a couple of minutes. Worked like a charm!

  • Create Upgrade Evaluation Site Collections Timer Job does not send notification Email when the Site is created

    Hello Everyone,
    My problem is:
    The Create Upgrade Evaluation Site Collections job does not send a Notification Email when the Eval Site is created. I only get a notification E-Mail that mention that a Upgrade Evaluation Site Colletion is requested and then after 27 Days that the Evla
    Site will be deleted in three Days.
    My Enviroment:
    SharePoint Foundation 2013 Sp1 on Windows Server 2012
    Exchange 2010 SP3
    I hope someone can help.
    best regards
    domschi

    Hi domschi,
    As I understand, you didn’t receive email generated from Create Upgrade Evaluation Site Collections timer job. While you might receive email generated from Delete Upgrade Evaluation Site Collections.
    When you request an evaluation site collection, the request is added to a Timer job
     which runs once a day. You will receive an e-mail message when the upgrade evaluation site is available. This might take up to 24 hours. The message includes a link to the evaluation site. Upgrade evaluation site collections are set to automatically
    expire (after 30 days by default).
    Please go to CA > Monitoring > Review Job Definitions, locate issue timer job and click Run Now. Then go to Job History and check if the issue job failed to run.
    Also, please check if the email are received by Exchange Hub server.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

Maybe you are looking for

  • Photo frames

    Does anyone know of a  photo frame compatible with TIFF? There are hundreds out there but the only one I have found which takes TIFF is the new Toshiba DMF102XKU. (mark that down in case ever needed). It's 10" and would have to do for home use (many

  • HP Photosmart 7520 printer window displays "Loading" can't copy/scan/​fax from printer.

    Our power went out approximately five days ago.  Once the power came back on I unplugged our computer and printer, replugged them in tried to restart each.  We are set up wireless....through our landline phone service and satelite TV.  The PC works f

  • Business Objects XI R3.1 Fix Pack 1.3 Release Notes

    Hi All, What are the Prerequisites for BOXI R3.1 Fix Pack 1.3  installation? can i have release notes for Fix Pack 1.3 Release notes. Any help would be appreciated. Edited by: mahesh ch on Apr 7, 2009 4:15 PM

  • When i click a button the webpage doesn't load... and sometimes the whole pages goes white and just shows words on the far left...

    idk if it is java or what, but every time i go to certain websites, like youtube.com they go blank and just show words, no images or nothing.. however i updated something and youtube works fine.. but now a website called roblox.com every time i hit t

  • Videoconference

    Hi I have a MCU 3545 integrate with the Cisco Call Manager version 6, the MCU is the main conference bridge in the CCM. The video endpoints are 7985, CUVA and VSX Polycom 7000, the videoconference work Fine. I connect a Polycom View Station in the vi