Auto generate reminder email based on two values

I have a property payment system set where a customer chooses a property, then select a duration they will be in the property (either 364 days or 301 days)
they then select how they will pay the money, either monthly, termly, 3 set payments or total
what i need is a automated email reminder to be sent out to the customer based on the date they moved in and there payment option
this seems rather complicated and wanted to know if anyone can lend an idea of how this can be acheived
thanks in advance

I would do this with a cron job. Depending on the way the payment system works, the cron job could run daily or weekly.
You need to set up a script to query the database and send out emails based on the results. However, you need to be careful about sending a large number of emails using mail() in a loop. Not only is it slow, but it's likely to be seen as spam.

Similar Messages

  • Using JavaScript to auto populate a field based on numeric value of a separate drop down field

    Hello, I am trying to set up a simple, I hope, javascript which will enable to me auto populate one field based on the numberic value of another field using Acrobat Pro XI.
    Essentially I have 2 drop down fields (we'll call them DD1 and DD2).
    DD1 is the sum of 8 preceding drop down values. That sum can be anywhere from 0 - 40. Whatever that sum falls within a range which identifies a rating. The ratings and ranges are below:
    0-8: Non-Performer  
    9-16: Low Performer  
    17-24: Performer  
    25-32: High Performer  
    33-40: Exceptional Performer
    DD2 is where the rating ("non-performer", "low performer", etc.) will be captured. Instead of requiring the user to look at DD1, determine the value, and then identify and input the rating manually, I would like DD2 to auto populate the rating based on the value (sum) in DD1.
    For example, if DD1 shows a value of 27 then DD2 would auto populate "High Performer". So how do I write this code or execute this? In excel I would use an if, then statement. Is there something similar in Acrobat Pro XI.
    Any help is greatly appreciated. Thank you in advance.

    If you use a text field, the custom calculation script could be:
    // Custom calculation script for text field
    (function () {
        var s = getField("DD1").valueAsString;
        // Blank this field if input is blank
        if (!s) {
            event.value = "";
            return;
        // Convert string to number
        var v = +s;
        // Set this field's value based on the input
        if (v <= 40 && v >= 33) {
            event.value = "Exceptional Performer";
            return;
        if (v < 33 && v >= 25) {
            event.value = "High Performer";
            return;
        if (v < 25 && v >= 17) {
            event.value = "Performer";
            return;
        if (v < 17 && v >= 9) {
            event.value = "Low Performer";
            return;
        if (v < 9 && v >= 0) {
            event.value = "Non-Performer";
            return;
        // If none of the above fit, blank this field
        event.value = "";

  • Generating a report based on two analytics(for ex:PO and PR)

    I have a question regarding generating reports on two analytics.
    In our scenarios,
    We need to generate a report based on Purchase order and Purchase request.Is it possible in OBIA?
    if yes,please provide the solution.
    Thanks in advance

    Hi ,
    Thanks for your valuable time.
    We are in designing phase of the project. we need to know ,Is there any inbuilt dashboards or reports built using both PO and PR repositories?
    I would like to explain with ex:
    Let's say we need a report or dashboard containing few fields from PO and few fields from PR.Let's assume both PO and PR data available at same granularity.
    Do we have any such inbuilt reports or dashboard?
    If not,could we customize the report generation using both PO and PS tables?
    Please provide the solution.
    Thanks in advance.
    Edited by: user3561029 on Aug 31, 2008 9:03 PM

  • Auto generate apex pages based on metadata

    Dear All,
    Is there a way where I can auto-generate pages in apex by providing some metadata?
    Ex: If I provide all the metdata with which kind of items to be created for the attributes and pass it to apex, can it generate the pages automatically then?
    Or, if this metadata can be converted into xml file which can be given as a input to apex and then, can it then auto-generate pages from there on wards?
    With question much more simplified, Can the apex pages be generated dynamically??
    Regards,
    Krishna

    Is there a way where I can auto-generate pages in apex by providing some metadata?
    Ex: If I provide all the metdata with which kind of items to be created for the attributes and pass it to apex, can it generate the pages automatically then?
    Or, if this metadata can be converted into xml file which can be given as a input to apex and then, can it then auto-generate pages from there on wards?
    With question much more simplified, Can the apex pages be generated dynamically?? There are several ways to approach your question.
    If you want to generate actual Apex pages through code, you can take a look at ApexGen:
    http://code.google.com/p/apexgen/
    If you just want to create dynamic pages (ie dynamic content on a page), just use one or more PL/SQL Regions on your page and render whatever you need on the page, possibly in combination with the APEX_ITEM package.
    Also check out the new Apex 4 plugin architecture.
    - Morten
    http://ora-00001.blogspot.com

  • To send reminder emails based on info from a csv/excel file -year along reminders to different addressee automatically

    I am trying to create reminders from csv file. This consists of reminder date, descriptions and email ids where reminder to be sent. In our instituition we have hundreds of reminders to be set up and to remind various people through exchange server.
    There are simple Google spreadsheet scripts available (https://docs.google.com/document/d/1IbCbxutPxqE9vIJV5jXNghPXQzu7rCtXY05oAH9nnA0/edit?pli=1) to do this job easily without any manual intervention. But we want to use Outlook. 
    Its not clear sharing calender (we also have O365) send reminders or should be invited and accepted. Also invitees could not be imported there seems to be a bug in csv import  feature in outlook.
    Could somone help plz?

    Hello Doctsh,
    Everything is possible but not everything is built-in. To amend that Microsoft introduced VBA (Visual Basic for Applications) to their Office products. Hence you need to understand programming to make your desired solution. The learning curve of VBA
    is fairly steep but once you have the grip of it you also have a great tool where everything is possible.
    Internet is full of samples. In your case I'd suggest you start from scratch with VBA. Just enter 'VBA beginner' in Google and you have a wealth of information at your fingertips.
    Then you can follow Diane's examples. She's an expert in smart Outlook programming.
    Best regards George

  • How to generate page break based on column value

    I am new to Reports. So please excuse me if it has been answered.
    Please help me to generate a page break when the database table column is a cetain value.
    Specifically, if the DAY of a reserv_date column is 'Monday' then I should generate a page break.
    Thanks for your help.

    Hi,
    Try this solution
    SOLUTION EXPLANATION:
    Go to the layout editor and add a horizontal line to the layout.
    Place this line directly below the field that will be associated with the format trigger.
    The line should also be within the repeating frame of the referenced column.
    Apply line color to make the line white (so it won't show up in the printed report) and set the properties to Page Break Before.
    Then add a format trigger on the line object to check the value of the desired
    column.
    For instance, if a master-detail report is created on the EMP table,
    and a page break is desired whenever the value of the COMM field is not null,
    create a trigger as follows:
    function b_1Format trigger return boolean is
    begin
    if :comm is not null
    then
    return (true);
    else return (false);
    end if;
    end;
    When the report is run, a page break will occur whenever the value of COMM is
    not null.
    Thanks,
    Oracle Reports Team

  • Auto sort incoming email based on message content and subject

    I am trying to do what it says above. I have created a smart mailbox and that will put on copy of the message in the mailbox and one in my inbox. How can I do it so it will be automatically added to that mailbox instead of my inbox?
    Thanks,
    Daniel

    don't use a smart mailbox for this. a smart mailbox is not a real mailbox. it's a saved search and doesn't move messages anywhere. make a regular mailbox and make a mail rule that moves incoming messages to that mailbox based on criteria you want.

  • How to create folder names based on Excel values or Txt files?

    Hi there,
    I often need to create large numbers of folders based on names I have saved in an Excel spreadsheet. I know in windows there is a way to create a macro within excel that automatically generates folder names based on cell values.
    I was therefore wondering how to do the same on a Mac operating system. The main thing is to find a way to automate the process. I understand this may involve copying the values to a text file.
    Below is an example of the names I need to create folders for (copied from the excel spreadsheet):
    Wash Bowl Small 600
    Deck Mounted Wash Bowl 500
    Wash Basin - 866 - 2 Shelves
    Wash Bowl Large 800
    Built-In Wash Basin With 1-Taphole
    Deck Mounted Wash Bowl 625
    Would really appreciate a simple step by step approach to an explanation. As my understanding of using Automator, Apple Script, Terminal, etc, is extremely basic.
    Thanks and Best Wishes,
    Graham

    Hi Niel,
    Thanks again for another superb response. I have another question. Is it possible to automatically generate sub-folders along with the folder.
    For example:
    Folder                                                Subfolder
    Wash Bowl Small 600          >            2D CAD
                                                               3D CAD
                                                               BIM
                                                               Images
                                                               Brochures
                                                               Specifications
                                                               Technical
                                                               Case Studies
                                                               Operations
    Deck Mounted Wash Bowl 500    >   2D CAD
                                                              3D CAD
                                                              BIM
                                                              Images
                                                              Brochures
                                                              Specifications
                                                              Technical
                                                              Case Studies
                                                              Operations
    Above shows the 9 generic sub-folders I need to create within each folder that is generated.
    Best Wishes,
    Graham

  • Formatted search to auto generate Item No.

    Hi,
    Customer is using 2007A PL47. They had requirement to auto generate Item No based on UDF created in Item Master Data(OITM). The stock code structure is as follow:
    Item No=EP(hardcode 2 char)+U_ProdRange U_ProdGroupU_ProdFamily+user defined text
    The keystroke steps are:
    1. Key in item description
    2. Select drop down list for U_ProdRange in OITM
    3. Select drop down list for U_ProdGroup in OITM
    4. Select drop down list for U_ProdFamily in OITM
    5. Formatted search to generate Item No based on 2,3, 4
    6. User keys in user defined text in Item No
    7. Fill in other relevant fields in Item Master Data
    8. Add Item Master Data
    May I know how to write the query in formatted search?
    Regards
    Thomas

    Hi,
    I had got solution.
    Try this Select TOP 1 'EP' +$[OITM.U_ProdRange] +$[OITM.U_Prodgroup] +$[OITM.U_ProdFamily]
    Regards
    Thomas

  • BPMOn: Is it possible to send email notification to different groups based on filter value for IDOC?

    Hi there,
                  I have setup the monitoring for idoc through interface monitoring and I am getting the alerts for the same. The alert is generated for different status values for the same idoc. Now my question is, is it possible to send email notification to two different groups based on the status values?? I mean for example , for a single idoc for some status values I want to send email notification to group1 only and for other status values I want to send notification to group2.Any help will be apperitiated.
    Thanks and regards,
    Rutvik Upadhyay

    We currently do not support that level of control for sending email notifications. If you think others are interested in this you should add an idea here: http://forums.adobe.com/community/formscentral?view=idea
    We use that to help us prioritize our work.
    Thanks,
    Randy

  • Mail 4.4 Reply Forward Icon Not Displaying for Auto-generated emails

    Does anyone have a problem with Mail 4.4...
    For auto generated emails (system generated or confirmation emails), when forwarded these email, little icon on the left that pops up, its just simply not showing up...???!!!
    And for the all other emails it works like it should...
    Anyone? Solution? Help?

    I finally figured out how to make this work for 2 accounts on exchange.  I created my main account and then adding another account  that I'm delegated for within the account.  I also tried my main account and adding IMAP account with still no luck.  What I ended up doing was adding two separate exchange accounts and named them appropriately.  This solved the problem of sent messages going to the proper sent items folder and arrows appearing for Reply and Forward email responses on all machines.  Works like a charm

  • Auto Generate Inicdent by Email

    Hello,
    How can I configure service manager to auto generate an incident by sending email to it ?!
    and how service manager will recognize who will be the responsible for this incident to submit it to him ?

    1. You can use the
    Exchange Connector to generate incidents based on received email
    2. When receiveing the email you can apply a template. In this you can have a specific person or rather a support Group assigned to the incident. There is no inherent logic that can assign incident based on ex. email subject. For that you will have to employ
    Orchestrator or some PowerShell.
    Cheers,
    Anders Spælling
    Senior Consultant
    Blog:  
    Twitter:   LinkedIn:
    Please remember to 'Propose as answer' if you find a reply helpful

  • SQL Server Reporting Services- Coloring a Cell Background Based on two different column group values

    Hello All,
    I have a matrix report with time scale on the x axis  and Resources on Y axis Showing the tasks assigned to each resource for a period of time. Here I have to color a matrix cell showing task details on tool tip with background color of the cell.
    So Please help me on this.I have a expression like this...
    In my case the color should be filled for the cell with name "Fields!task_name.Value" based on the values of "Fields!Day_Wise.Value " where we have the values for Daywise as S,M,T,W,T,F,S. So i need the background for the cell with name
    task_name as Light Grey on Friday and Saturday, But we have the same name S for sunday also, which should come in different color.
    =iif(Fields!Day_Wise.Value ="F","LightGrey",
    IIF(PREVIOUS(Fields!Day_Wise.Value) ="F","LightGrey",
    iif(Fields!task_name.Value="","White",
    iif(InStr(Fields!task_name.Value,"||")>0,"Maroon",
    iif(InStr(Fields!task_name.Value,"NULL")>0,"Sienna",
    iif(InStr(Fields!task_name.Value,"Pink")>0,"Pink",
    iif(InStr(Fields!task_name.Value,"Red")>0,"Red",
    iif(InStr(Fields!task_name.Value,"Purple")>0,"Purple",
    iif(InStr(Fields!task_name.Value,"Green")>0,"Green",
    iif(InStr(Fields!task_name.Value,"White")>0,"White",
    iif(InStr(Fields!task_name.Value,"Cyan (Teal)")>0,"Teal",
    iif(InStr(Fields!task_name.Value,"Olive")>0,"Olive",
    iif(InStr(Fields!task_name.Value,"Blue")>0,"Blue",
    iif(InStr(Fields!task_name.Value,"Light Blue (Aqua)")>0,"LightBlue",
    iif(InStr(Fields!task_name.Value,"Yellow")>0,"Yellow","Black"
    Thanks
    AJ Hameed

    Hi AJ Hameed,
    According to your description, you want to set the background color for the cells based on the values inside of cells and the values the column group. You want to set grey for cells on Friday and Saturday, set colors based on the task name on other weekdays.
    Right?
    In Reporting Services, there's no problem if we have two different data values in conditional expression, so we can set background color based on Day_Wise or task_name. One issue in this scenario is, we can't have value "S" for both Saturday and Sunday when
    working in a matrix. Otherwise the task_name will overwrite the previous task_name (for numeric values, it will do sum calculation). So we suggest you change the values for weekdays in database. The expression you have posted was correct. It only has a small
    issue: the "Light Blue(Aqua)" also contains "Blue", so when doing conditional judging, the expression will return "Blue" instead of "Light Blue". We have tested in our local environment. For viewing convenience, we used the Switch() function in our expression:
    =IIf(Fields!Day_Wise.Value="Fri" or Fields!Day_Wise.Value="Sat","LightGrey",
    Switch(
    InStr(Fields!Task_name.Value,"White")>0,"White",
    InStr(Fields!Task_name.Value,"||")>0,"Maroon",
    InStr(Fields!Task_name.Value,"Pink")>0,"Pink",
    InStr(Fields!Task_name.Value,"Red")>0,"Red",
    InStr(Fields!Task_name.Value,"Purple")>0,"Purple",
    InStr(Fields!Task_name.Value,"Green")>0,"Green",
    InStr(Fields!Task_name.Value,"Cyan(Teal)")>0,"Teal",
    Fields!Task_name.Value="","White",
    InStr(Fields!Task_name.Value,"Olive")>0,"Olive",
    InStr(Fields!Task_name.Value,"Blue")>0,"Blue",
    InStr(Fields!Task_name.Value,"Aqua")>0,"LightBlue",
    InStr(Fields!Task_name.Value,"Yellow")>0,"Yellow",
    InStr(Fields!Task_name.Value,"Orange")>0,"Orange",
    InStr(Fields!Task_name.Value,"Null")>0,"Sienna",
    true,"Black"
    The result looks like below:
    Reference:
    Matrices (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Workflow changes - send reminder email on X - 1 days ...  based on Molga

    Hello Everyone,
           I new to workflow and I came across a workflow scenario where I am confuse, that what should I do in order to make it work. Luckily we are running only one workflow in the system which is time off request, We copied standard workflow class u201CCL_PT_REQ_WF_ATTRIBSu201D to Z version and introduced some new method to send email to employees managers as well as employee and HR .
    We also have something called workflow item cancel thing . Lets say if workflow is not approved by manger within X bossiness days it got cancel and employee has to submit the new time off request again. After doing a little bit research I came to know that there is standard job which checks and calculate the X days thing. Work flow is running fine from last 1 year.
    Last week, we been asked to create reminder from X-1 day and sends to employee manager saying u201C This is a reminder and one day is left u201C  .
       I wanted to know how I can achieve that, I have to filter the employee by reading employeeu2019s molga as we want to do it for specific countries  then I have to read employee manager which I can do using different FM and then I have to send email to employee's manager .
    Like I said It should happen BEFORE x-1 business days when employee submits the time off u2026   
    Here what I am thinking , I  can read table u201CSWWWIHEADu201D  with field WI_TYPE = u2018Wu2019 .  and  pass work_id to FM " SWW_WI_CONTAINER_READ "  and read the container like the  INCLUDE  MWS20000081HO01
      CALL FUNCTION 'SWW_WI_CONTAINER_READ'
             EXPORTING
                  wi_id                    = wi_id
                READ_FOR_UPDATE          = ' '                         *
             TABLES
                  wi_container             = wi_container
             EXCEPTIONS
                  container_does_not_exist =  1      "message from function
                  others                   = 99.
        IF SY-SUBRC = 0.
          SWC_GET_ELEMENT WI_CONTAINER 'ACTUALSTATE' ACTUALSTATE130100.
        ELSE.
          CLEAR ACTUALSTATE130100.
        ENDIF.
        IF ACTUALSTATE130100 = 'N'.
          CALL TRANSACTION 'WS20000081M'.
          LEAVE PROGRAM.
        ENDIF.
    From container I can read employee number and approver . Get molga via  pernr and can filter the employee ..who ever submits the request system date u2013 4 .. I can send out the reminder email u2026
    Is there any other way around or any other efficient way of doing that u2026 I hope  you understand this thing is conditional u2026 As far as I am concern I new to workflow so please bear with me ..
    Waiting
    Khan
    FYI- I have gone through several post which task about deadlines monitoring Etc .. using fork & wait blah blah .. but It didnu2019t get any clue where to start and how to start u2026

    Mike,
            I think I am following you so for .. so here what I did ... I opened the "approve process" and slap in the same refer date/time in "Requested end date " with variables "&WFDATA.DEADLINEDATE&" "&WFDATA.DEADLINETIME&"  with 1- DAY . I didnu2019t find this what it says in help " It is possible to specify a negative time interval. Negative time   intervals should only be used in connection with an expression as a   reference date/time. You then have the option of "backward deadlines"
    Any way after that I changed action to "modeled" and say "outcome "reminder from UK " .
    it creates a node with clock sign , now like you said , I can do many  things here .. and I really need to do something for example , I need to check the employee if he/she is from UK , after that reads his/her manager and send an email to mangeru2019s outbox . UK gave us an email format which I have created in t-code SE60 - with Document Class "Dialog Text".
    How to proceed further. Thanks for baby sitting me.
    What I am thinking , I need to create a new activity as well as new method in my Zclass, in which I will check employee Molga  i.e. U.K and I have to send out email based on my email text which I have created in SE61.
    Iu2019m able to write code in existing method , being on the safe side I copied the existing workflow and made changes in to it . Now it comes to debugging part , Iu2019m able to find posts on SDN talks about workflow debugging . When I am entering time off request from ESS , and it is not stopping at external breakpoint , Also when I am looking at "PTARQ"  to see submit WF items . It is showing me the old task "w90000012" which is original one and I copied it and my task is "w90000022" . What I have to do  so when I submit time off request via ESS it calls my task . I created Task in PFTC . But nothing is happening . Please let me know what I am missing ..
    I found the table for ESS  leave request and able to see my task  , Table name is "u2022     V_T554S_WEB"
    But still waiting for answers the of above questions ...
    Edited by: Saquib Khan on May 27, 2008 9:36 AM

  • Auto generate Emails

    Want stop auto generate email form my 8520, its auto creating email from my email id, & then it auto send to my contacts, what should I....?????????????

    What is in the emails and are you are sure they are being generated by your Blackberry as opposed to someone who has hacked your email account?

Maybe you are looking for