Send a mail automatically at regular intervals

Hello,
I need to develop an Auto responder application where i need to send mails or newsletters to customers automatically without any manual involvement.These mails should be sent at regular time intervals(Every 7-days ...etc).I request you to help me in arriving at a solution for this problem.

Are you on a windows machine? If yes you can simply develop your java code, create a .bat launcher and register it in the Scheduled Tasks (in the Control Panel) configuring it to run every 7 days.

Similar Messages

  • How to send a mail automatically at regular intervals

    Hello everyone,
    I need to develop an Auto Responder application where we have to send mails to customers automatically at regular intervals. I had no idea on the concept of sending mails automatically at certain time intervals. So, i request you to help me in this regard and solve my problem.

    Hi,
    its very simple, U can use Java mail or other api for sending mail,
    Use Timer and TimerTask for sending at regular intervals
    public SendMail extends TimerTask
    // other initializations
    public void run()
    // Send mail code
    public class MailExample
    // Half an Hour , every half an hour it runs the job
    static final int INTERVAL=1000*60*30;
    // Before running job wait 1 minute
    static final int WAIT=1000*60;
    public static void main(String args[])
    TimerTask sendMail=new SendMail();
    Timer mail=new Timer();
    mail. schedule(sendMail,WAIT,INTERVAL);
    if any help needed, send mail to prasadbr33 at gmail dot com
    Hope it would solve ur problem
    Cheers
    Rajendra Bandi

  • Sending mails automatically at regular intervals

    Hello everyone,
    We have to create Auto Responder application where we need to send mails automatically to customers(clients) at regular intervals. we need to send these mails automatically without any manual involvement.Wat we know is just the client's email and once we get the clients mail,our application should be able to send these mails at regular periodic intervals. Plz help me out in arriving at a solution for this problem.

    I'm loathe to respond to a thread about what could very well be spamming software. You posted this question in multiple forums, which doesn't help the case any. In any case, you received responses pointing you in the right direction in the other forums. Please do not abuse our forums and waste our time by posting the same question in multiple forums.
    -Ian Evans

  • How to send a mail automatically based on a date from ORACLE database

    Hi,
    I want to send a mail automatically based on a date from ORACLE database.
    Please help me.
    thanks
    --Sara                                                                                                                                                                                                                                   

    programs are available on net to send mail directly from oracle ie procedure s in oracle sending mails

  • BPM composer getting refreshed automatically at regular intervals

    Hi,
    We have installed SOA Suite 11.1.1.6. While working on BPM composer, the window gets refreshed automatically after regular intervals and the entire work gets lost.
    Any help is highly appreciated.
    Thanks,
    Deepak

    > and the tcode for the lock is KRNL. and we dont have any other information regarding this.
    You mention that this is the account of an employee, so I assume a Dialog type user ID.
    Sounds to me like a script somewhere with this user ID in it for the connection to the system. Could be anywhere... theoretically also on a PC.
    Contact the user and ask them whether they saved their pwd anywhere.
    Also activate the SM20 dynamic filters to find the terminal for all types of events (also not critical) before the next pwd lock of the user (128).
    If you find that the terminal is an application server of your own system, then you will need to check your jobs again in more detail and in extreme cases even transport imports.
    Cheers,
    Julius

  • Send different mails automatically on different days-Auto Responder

    I need to develop an Auto Responder application where my application has to send different mails to different types of Auto Responder customers.These mails should be sent to these customers every x days after their subscription i.e., once a customer has subscribed for this Auto Responder he will be recieving a mail 3rd day after subscription,then 7 days after subscription and then 10 days after subscription.This will vary on the particular auto responder to which the client has subscribed.
    I got the suggestion that using timer and timer task classes in the java mail will be helpful.But can anyone tell me how to use these methods to send different mails to different customers on different days. I need it urgent.

    Hi
    in the last reply, i mentioned using of timer and timertask classes to send mails.
    I got ur problem. I believe the Days X is fixed for each auto responder. I mean for auto responder1 days are 3,7,10 , for autoresponder2 days are 5,8,10 ... etc
    R u using any database, if yes follow Soultion 1 otherwise follow Solution2
    1)
    Create two tables in database
    table a is autoresponders table
    schema
    Autoresponderid
    AutoResponderDescription
    AutoResponderMailFormat
    AutoResponderDays(comma deliminated numbers ex: 1,3,5,10.. ) ( i belive Days x is fixed and with varying difference, if it is fixed difference ie 1, 5, 9 with a diff of 4 then we need autoresponderinterval instead of autoresponderDays )
    Table b is CustomerTable
    CustomerID
    Customer Name
    AutoResponderID(Foreign key to autorespondertable)
    Fill out appropriate responders data and customer data
    Now almost the problem is solved.
    I am focusing on main task sending mail
    I have explained already how to send mail in JSP forum for your question. Please refer that.
    Suppose we assume autorespondertable contains 5 rows.
    and customertable contains 10 rows(10 customers)
    Now the logic is
    Create a common TimerTask which has attributes same as autoresponder row.
    Create a Thread(TimerTask in this case), for each row in autoresponder table(in our case 5 TimerTask 's are created)
    Follow these steps(Implement the logic in run method of TimerTask).
    1) Read rows of all customers whose autoresponder is this id
    2) Notice there subscription date, do some work on that date and compare with autoresponderdays data. (suppose if customer subscribtion date is 20/07/2005, todays date is 23/07/2005, if autoresponder day is 3 , take the diff between two dates and compare with autoresponder date) if yes
    Read MailFormat for that autoresponder and add customer name, blah blah, use JavaMail Mail api and send it . and
    3) Important this TimerTask must be scheduled for every day
    i,e. Please have a look to my reply in JSP forum. It should be
    INTERVAL=1000*60*60*24 (1 day)
    4) it checks every day all the autoresponders
    If u want me to write the code, i can provide that
    cheers
    Rajendra Bandi

  • Send e-mail automatically at specific date

    I need to send an e-mail to everyone automatically at their birthday. I am handling the SQL Server database through a winform C#. I need something that triggers an e-mail when the date associated with the e-mail address is the same as the server's time.
    Is there a way to do that? An example of code would be very appreciated!

    Hi,
    Refer below links.
    Configure Database Mail – Send Email From SQL Database
    Schedule a Job
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • Sending a mail at regular intervals

    Hi everyone,
    I need to develop an Auto Responder application where we have to send emails or news letters to our clients(customers) automatically at regular intervals(i.e., for every specific no. of days). I request you to help me in this matter so that my application can send mails automatically without any manual involvement.

    I don't know what level of detail you need, but I'll toss the thread scheduler at you...
    The java.util.concurrent.ScheduleExecutorService (returned by Executors) has a method called scheduleAtFixedRate. Given that your email code is in (or called from) a "Runnable", you can pass that Runnable object to scheduleAtFixedRate and the thread scheduler will run it for you ever x-number-of-seconds automatically.
    It's just one piece of the puzzle, but maybe it'll help.

  • How to automatically send the mail without popping for send

    Hi,
    I am providing proper values in system parameters of report6. viz.
    Desformat=pdf
    Destype=mail
    mode=bitmap
    desname=Valid email id
    I am using MS MAPI (Microsoft Outlook)
    When I run the report, I get the composed mail with the pdf attachment. When I press the SEND button of the composed mail, I shall be able to send the mail.
    Is there a way to SEND the mail automatically through reports?
    Regds
    Prakash H L

    hi ,
    Try running your report in batch mode, provide batch=yes on the command line for your report. This will suppress any user interaction and will mail the report without the need for the user to click on the send button of the mail composer.
    Regards
    Oracle Reports Team.

  • BPM Composer refreshing at regular intervals

    I have Installed soa suite 11.1.1.6. When we logged into bpm composer refresh automatically at regular intervals. All the changes which has been made are lost.

    First of all, thanks again for your responses. BTW: I was unaware if I had marked the problem as solved. I don't recall doing so.
    Are you running multiple AV or multiple Firewalls, are they causing the problem.
    '''Well, that may e something to look at, but it is also happening on my other computer which definitely is not running multiple firewalls.'''
    Are you able to identify the process.
    if it is Firefox did you try Safe Mode with all plugins disabled ?
    '''As mentioned above, I have run FFox in Safe Mode with plugins disabled on several occasions: no fix.'''
    what happens if you try Firefox offline
    '''As stated above, if I am off-line, FFox attempts to refresh itself and loses almost all content. If I reconnect the cable, the next "refreshing glitch" brings back all of the webpage content.'''
    what happens if you open only a blank page in Firefox and nothing else (try about:blank )
    '''Opening a blank page (BTW: tried it) is superfluous, because then there would really be no content upon which this problem would manifest itself.'''
    Still searching for a solution! THANKS for the assistance thus far.

  • To send e-mail

    Hello, I would have to create a procedure to send e-mail automatically. I have oracle 9i, developer 6i, o developer 1og
    Can someone help me?
    thanks
    Silvia

    Several options:
    using OLE2 or CLIENT_OLE2 to access a mail-client via Mail-Api ( Get and set Outlook properties )
    using MAILTO in conjunction with HOST or CLIENT_HOST to "start" a mail-client ( Re: Open Microsoft Outlook new massage with TO containing the email address )
    using UTL_SMTP for database-side-mailing ( Re: Send mail with attachment )

  • Sending PDF Mail from Reports 6I

    Hi Everyone,
    First of all i am sorry to raise an issue that has been discussed here many times but unfortunately i am encountering a strange problem to which you guys might to be able to share some light on it.
    Now regards to my problem i have create one report which i being called from a form to this report i pass the parameter
    DESNAME :- Email ID of the person whom i am sending the email.
    DESTYPE :- MAIL
    DESFORMAT :- PDF
    BACKGROUND :- YES
    I have overcome the problem of OUTLOOK(2003) security through a third party software ,whenever i run this report from the form on my machine either locally or from a remote location things work fine the emails are being sent to its destined mail ids in PDF format without any issue but whenever i try to run the same form from any of my colleagues machines either locally or remotely the OUTLOOK(2003) "MESSAGE" window opens thereby asking the user to PRESS the SEND button in order the mail to be sent.I would be glad if any one could guide as how to suppress this "MESSAGE" and send the mail automatically without any intervention.
    I and colleagues are using the following version of softwares
    Database : 10g
    Developer Tools :- 6i (Forms & Reports)
    OutLook:- MS OUTLOOK 2003.
    Thanks in Advance
    Regards

    Hi Everyone,
    I have found one strange thing whenever i try to run the report(on my colleagues machine) that is being called from the forms independently from the Oracle Reports and set the BACKGROUND parameter to YES the first message from outlook appears "A program is trying to access e-mail addresses your have stored in outlook.Do you want to allow this?"
    but the second message " A program is trying to send an email on your behalf" does appear at all.
    It opens the "OUTLOOK MESSAGE WINDOW" asking for a user interaction to send the mail ,would be glad if anyone could light on as to why the BACKGROUND parameter is not working and if there any windows setting to allow this.
    Regards

  • Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?

    Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?
    I basically want to create a rule that will send an automatically crafted form e-mail to the sender when I receive an e-mail with the subject line "New Swimmer". Is this possible?

    Thank you Todd, I was able to get it to work but I do have a few more questions...
    1) When I tested this, at the top of the message, before any of the text I created, this showed up: This is a multi-part message in MIME format. --------------040406040801080102080500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
    2) After the signature line, this showed up: --------------040406040801080102080500 Content-Type: image/jpeg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAA AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0K CgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAC5ApUDASIAAhEBAxEB/8QA HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID AAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6 Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/
    (It was actually much longer than that)
    Is there anyway that I can get that to go away? I obviously would prefer a nice, cleanly formatted e-mail to be sent just like I would send if I were creating it on the spot.
    Thanks,
    Evan

  • Help required in triggering concept for sending mails automatically

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

  • How to send e-mail notification automatically when a record is inserted?

    Dear All,
    Could anyone kindly tell me how to send e-mail notification automatically when a record is inserted through a form in Oracle Portal Release 2?
    Regards,
    Ridwan.

    Hi,
    If you are writing a form on a table then you can call the mail API from a database trigger on the table. If it is a form on a procedure, you can make the email call from the procedure. To know more about sending mails from plsql go to
    http://www.quest-pipelines.com/newsletter-v2/smtp.htm
    Thanks,
    Sharmila

Maybe you are looking for

  • Access to itunes gift card for new users

    I am a new user to itunes. Yesterday I put my itunes gift card pin number in the redeem box. then I followed the on screen instructions. after I put in my name and address a box appeared saying "We are unable to complete your registration at this tim

  • Video editing in photoshop cs6

    Hello I imported the video in psd cs6 version but it gave me error msg telling the request cannot be completed as the dynamic path is not available...Anyone know what to do

  • Library wont update to nano

    I have successfully downloaded music from itunes, when I click to update nano, it says that it is updating, but it doesn't. I started out on another computer does that make a difference? Help!

  • Document Sequencing in Directory Browse Help

    I need to resequence the order of the documents (cards) view when in browse mode in the Documents Directory. I need to reorder them by the card name instead of ordering by the cards ObjectID, in which is by default its sequencing them now. What do I

  • Error J1IH

    Dear All, Error in T-code J1IH Excise modvat accounts not defined for  transaction and 30 excise group Message no. 8I402 i select matl write off. Please explain me use of J1IH with all functions Thanks Shital