Sorry everybody I am here to ask how to do something I have no idea about.I have about 1000 html emails which I have been asked to convert into text format. I need to convert the information into .csv automaticaly. Is this possible, and how?
A typical format is like the following.
Date: 24-Feb-2011
Name: P Somebody
Email: [email protected]
Email Confirmed: [email protected]
Alternative email: [email protected]
Confirm alternative: [email protected]
Address 1: Wil Street
Address 2: Well Road
City or Town: Nottshill
Post Code: Nk19 8ER
Country: United Kingdom
Vat: Yes
Newsletter: yes
Lathe Owner: Yes
Model: SL7
Serial number: yt548723
Special: Hobbyist
Website: No website
Product Changes: yes
New Products: yes
Open days: yes
Technical Bulletins: yes
Update Schedule: yes
Visiting: yes
I hope it is a positive answer
Drachsi
Email as text file into csv format
Page 1 of 14 Replies - 836 Views - Last Post: 27 February 2011 - 02:38 AM
Replies To: Email as text file into csv format
#2
Re: Email as text file into csv format
Posted 27 February 2011 - 12:36 AM
Read the file into an array, translate the carriage return line feed to comma, & then at the end of the file add a carriage return line feed & dump the output to a new file.
#3 Guest_Drachsi*
Re: Email as text file into csv format
Posted 27 February 2011 - 02:08 AM
no2pencil, on 27 February 2011 - 12:36 AM, said:
Read the file into an array, translate the carriage return line feed to comma, & then at the end of the file add a carriage return line feed & dump the output to a new file.
I am completly out of my depth. Sounds like you have my solution, but how do I read the file into an array, and what does it mean? Then Translate etc ,no idea etc.
Regards
Drachsi
#4
Re: Email as text file into csv format
Posted 27 February 2011 - 02:34 AM
It's nearly impossible to answer the question without knowing what coding language &/or platform you are trying to do this with.
#5 Guest_Drachsi*
Re: Email as text file into csv format
Posted 27 February 2011 - 02:38 AM
Page 1 of 1

New Topic/Question
This topic is locked



MultiQuote


|