11-30-07 12:35 PM
> It all depends from how the file is constructed in the first place.
> If it is constructed, for example, by concatenating a series of
> individual message files together, then it's silly to write a program
> to parse the file in order to split it into several individual
> messages when it started off as several individual messages in the
> first place. If you have individual messages in individual files,
> then submitting them is no more than an exercise in shell scripting.
ok, tks!
yes, yesterday i solved my problem with a shell scritp ...
with more details, i wanted to make a cron mail-merge:
- i have a .xls database with language, name, sex & number, treatment,
signing, ...., generic body file
- i exported this db to a .csv file
- i have some generic body files - language
- i cronned my "mail-merge" script
- for each csv record, it takes the associate body-language file,
makes the translation of the fields, and send the mail.
tks for your comments!
my best regards
[ Post a follow-up to this message ]
|