473,395 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to extract names with the email addresses from .eml file?

JLENF
1
Hello Paul,

First, sorry for my bad english. I from Brazil.

I've been watching your post with the program ExtractEmail.pl and this was very helpful to me.
My problem is I have in my file .eml people's names with the email address and would like to extract the name too.

Example of my file:
John <john_padilha4@hotmail.com>, Sandra Ulyses <sandraulyses@hotmail.com>, <user@withoutemail.com>, Paul Mc <paul.mc@yahoo.com>

Basically it will have to extract the person's name along with email, separated by semicolons. output:
john_padilha4@hotmail.com; John
sandraulyses@hotmail.com; Sandra Ulyses
user@withoutemail.com;
paul.mc@yahoo.com, Paul Mc

In this case, the email user@withoutemail.com not have the user name, so it is blank.

Can you help me, my knowledge comes down to bash and perl does not understand anything.

Thank you!

Jairo
Aug 5 '12 #1
0 1600

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Jerry | last post by:
Hi people: Can somebody show me a quick code snippet to reliably extract an email-address form a text file ? Any help greatly appreciated! Jerry
2
by: Hoang | last post by:
anyone know of an algorithm to filter out real email addresses as opposed to computer generated email addresses? I have been going through past email archives in order to find friends email...
0
by: Duke of Hazard | last post by:
I have searched without success for a simple script that can read any text html file and extract the email addresses from it. I am not interested in spamming people. I play a sport that requires me...
6
by: Ted | last post by:
Hi... I'm setting up a website that will send out a newsletter to my website subscribers. What are my options for collecting/storing the email addreses and what are my options for sending out...
3
by: kieran | last post by:
Hi, i know this should be easy but cant get it exactly right. i have a Datagrid pulling results from a stored proc in database, it outputs four columns, one of which is an email address...
5
by: mamatha | last post by:
Hi I want an application to extract e-mailID's from webpage or from local harddisk.I don't have that much of knowledge in extracting emails from the webpage.If anybody knows source code or...
2
by: tthomas | last post by:
Greetings, I am using CDO.Message to send email messages from my application. I now need to send email to existing distribution lists in our Global Address List. However, our exchange server...
3
by: dragonfly8563 | last post by:
Hi all, I created a listbox with employees' names and email addresses in it, and a button which grabs email address once it's clicked. Currently I can only pick up one address at a time, but I...
45
by: Dennis | last post by:
Hi, I have a text file that contents a list of email addresses like this: "foo@yahoo.com" "tom@hotmail.com" "jerry@gmail.com" "tommy@apple.com" I like to
1
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I have a web application that needs to import names and email addresses from gmail, yahoo hotmail, and outlook. I'm guessing this is not that un common. What is the best way to do this from a users...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.