emailing - auto update of address book from .csv

This is a discussion on emailing - auto update of address book from .csv within the C++ Programming forums, part of the General Programming Boards category; Hi, not sure where this thread should go, but hear me out. I posted yesterday requesting help for an automated ...

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    1

    emailing - auto update of address book from .csv

    Hi, not sure where this thread should go, but hear me out.

    I posted yesterday requesting help for an automated emailing system.

    Further investigation has lead to me discovering that the problem isnt really with the emailing program, but the way our database works.

    Our database contains our customers info (over 20,000 customers, constantly updated everyday), and we can offload their info as a .csv file. What I need is for this .csv file to be imported into an emailing program so that the address book is updated everyday, automatically. After this, I need the email program to recognise a parameter within the .csv file ('email type') and thereby send the correct email to the customer. The scheduling of the emailing is possible in many programs, but the actual importing of the .csv file is still manual.

    I was wondering if anyone knows how to make the importing of the file automatic, perhaps program it so that it does it everyday, maybe one hour before the email schedule.

    Is this possible with php/java/c++ etc? Can it be used in collaboration with an existing emailing program, such as Outlook or Mach5? I don't really know about coding myself, so any help is greatly appreciated!

    Regards,

    Henry
    www.mobal.com

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,806
    You can write a program that reads the csv file and updates your address book. If you are on a Windows computer (XP for example) you could use the task scheduler to have this run at set times (once a day, multiple times a day). Alternately you could create a program that runs in the background and repeatedly checks the "last modified" time of the csv file and then does the address book update whenever the csv file gets changed. Is the database->csv file export something that is automatic or is that manual as well?
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    #define WORLD "sad place" LinuxCoder's Avatar
    Join Date
    Mar 2006
    Location
    Portugal
    Posts
    89
    If you are on a Windows computer (XP for example) you could use the task scheduler to have this run at set times (once a day, multiple times a day).
    If by any chance you're on Linux platform you can use cron jobs to achieve the exact same functionality (but you probably knew that already).

    Cheers

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Address book and connect 4 game
    By sundeeptuteja in forum C++ Programming
    Replies: 1
    Last Post: 07-21-2002, 06:02 AM
  2. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 02:27 PM
  3. Im so lost at . .
    By hermit in forum C Programming
    Replies: 18
    Last Post: 05-15-2002, 02:26 AM
  4. doubly linked lists
    By cworld in forum C++ Programming
    Replies: 2
    Last Post: 04-21-2002, 10:33 AM
  5. C++: Reference Book, GUI, Networking & Beyond
    By kuphryn in forum C++ Programming
    Replies: 4
    Last Post: 11-10-2001, 08:03 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21