Need to develop a script that will help to gather users calendars and contacts from current email server.
The email server has the following paths to Contacts and Calendar (respectively)
../mail/domain/firstname_lastnight/Contacts/#msgs
../mail/domain/firstname_lastnight/Calendar/#msgs
Contacts and Calendar are all stored as .eml files
We need to create a script that will process all of the Contact items (.eml) and create one CSV file. Then we need to process that users Calendar. However since there are some duplicates, we'll need to remove the dups before create an ical file which would contain all of the calendar items (we already have script to take care of the dups). At the end, we would like to have an email generated that sends the 2 files (.ics for Calendar and .vcf for Contacts)
Once complete, we would like to provide a list (CSV maybe) that the script would use to determine which users to run (since we don't want to run this script on the entire mail store at once). Please see the attached file for a sample Calendar and Contact entry.
## Deliverables
## Formatting iCalendar files (.ics)
An iCalendar file is used for calendar data exchange. The first line in an iCalendar file must always be the header "BEGIN: VCALENDAR". This must be followed by other header information, including "VERSION:2.0" and "PRODID:< [enter ID information here] >". The last line of the file must be the footer "END: VCALENDAR". Between these lines is where all the events in the calendar are entered. Each event must be between "BEGIN:VEVENT" and "END:VEVENT" lines.
If you need to manually edit an iCalendar file, make sure that each file contains the header and footer mentioned above. If you are unsure where your header ends, just copy and paste the text until one line above "BEGIN:VEVENT", which is where your header ends and your event data starts. The basic outline of an iCalendar file looks like this:
BEGIN: VCALENDAR
VERSION:2.0
PRODID:< [enter ID information here] >
(other header information goes here)
BEGIN:VEVENT
(event details for individual event)
END:VEVENT
BEGIN:VEVENT
(event details for individual event)
END:VEVENT
END: VCALENDAR
ID do Projeto: 3320426
Sobre o projeto
6 propostas
Projeto remoto
Ativo há 13 anos
Quer ganhar algum dinheiro?
Benefícios de ofertar no Freelancer
Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
6 freelancers estão ofertando em média $2.480 USD for esse trabalho