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

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

Import emailadresses, name, lastname to tokentable from xml il y a 1 an 2 mois #92015

  • adishardis
  • Portrait de adishardis
  • Hors ligne
  • Senior Lime
  • Messages : 58
  • 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 a désactivé l'accès en écriture pour le public.

Re: Import emailadresses, name, lastname to tokentable from xml il y a 1 an 2 mois #92027

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

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

Re: Import emailadresses, name, lastname to tokentable from xml il y a 1 an 2 mois #92035

  • adishardis
  • Portrait de adishardis
  • Hors ligne
  • Senior Lime
  • Messages : 58
  • 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 a désactivé l'accès en écriture pour le public.
Modérateurs: ITEd
Temps de génération de la page : 0.127 secondes
Donation Image