473,396 Members | 1,726 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,396 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 1601

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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.