The LimeSurvey Fund-Raiser 2012 is complete. Thank you for donating a total of 25,000 USD!     List of donors »

Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
  • Page :
  • 1

SUJET : Import emailadresses, name, lastname to tokentable from xml

Import emailadresses, name, lastname to tokentable from xml il y a 3 mois 3 semaines #92015

  • adishardis
  • Portrait de adishardis
  • Hors ligne
  • Silver Donor
  • Messages : 57
  • Karma: 0
I'm trying to set up a workflow where I daily get a xml file to our ftp with firstname, lastname, date and email.

Via php I want to import the emails not already in the tokentable.

and then via a cronjob activate sending mails withe "date" older than 3 days.

Has anybody done anything like this? Is it possible, is there a better way?

Any thought would be much appreciated!

Sinceraly
Adam
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Import emailadresses, name, lastname to tokentable from xml il y a 3 mois 3 semaines #92027

  • DenisChenu
  • Portrait de DenisChenu
  • Hors ligne
  • Moderator Lime
  • Messages : 4423
  • Remerciements reçus 460
  • Karma: 167
adishardis écrit:
Is it possible, is there a better way?
With cronjob and PHP, all is possible. But talke time ;).

Denis
L'administrateur à désactivé l'accès en écriture pour le public.

Re: Import emailadresses, name, lastname to tokentable from xml il y a 3 mois 3 semaines #92035

  • adishardis
  • Portrait de adishardis
  • Hors ligne
  • Silver Donor
  • Messages : 57
  • Karma: 0
Yea, that's what I thought. Me and my big mouth told my boss that I could get that done in a couple of weeks :D

Well I need to get started somewhere and I have an approximate idea of how to extract the data from the xml-file.

The next thing would be to create a token in php and add them to the array from the xml file.
Insert the array to lime_token_table.

Then via a cronjob schedule sending emails depending on the attribute "date".

Is there something I'm missing? What step do you think would take the longest to code?

Take care!

Adam
L'administrateur à désactivé l'accès en écriture pour le public.
  • Page :
  • 1
Modérateurs: DenisChenu, ITEd
Temps de génération de la page : 0.164 secondes
Donation Image