How to copy all email addresses from an email in Thunderbird

Multi tool use
Is there a way to automatically copy all the email addresses from an email's To, Cc, Bcc headers etc in Thunderbird? I am currently right clicking and doing "Copy Email Address" for each one but this is obviously unsatifactory.
email thunderbird
add a comment |
Is there a way to automatically copy all the email addresses from an email's To, Cc, Bcc headers etc in Thunderbird? I am currently right clicking and doing "Copy Email Address" for each one but this is obviously unsatifactory.
email thunderbird
add a comment |
Is there a way to automatically copy all the email addresses from an email's To, Cc, Bcc headers etc in Thunderbird? I am currently right clicking and doing "Copy Email Address" for each one but this is obviously unsatifactory.
email thunderbird
Is there a way to automatically copy all the email addresses from an email's To, Cc, Bcc headers etc in Thunderbird? I am currently right clicking and doing "Copy Email Address" for each one but this is obviously unsatifactory.
email thunderbird
email thunderbird
asked Nov 2 '11 at 14:17
Callum Rogers
3593615
3593615
add a comment |
add a comment |
10 Answers
10
active
oldest
votes
Yes, you can. Just use Message Source
in the View
menu.
You'll see all the same details as in the header of the e-mail but in a format you can copy and paste...
In more detail.
You'll need to copy the email addresses (they are separated by commas) into one of the To: fields. As soon as you hit Enter Thunderbird will give each address its separate line. Quick and easy.
If you already have at least one address in a To: field, you may change the second To: into Cc: before you hit enter. Then all the added addresses are Cc!
2
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.
– Stéphane Gourichon
Dec 2 '16 at 8:48
add a comment |
What I usually do is ... Forward email. I have my TB configured to forward inline. Then, there you get all the headers in text. I just copy the mails and the paste in the new message.
Done ;)
1
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
add a comment |
I have answered a similar question: create address list (mailing) from email recipients.
EMail Address Crawler is a very old Thunderbird add-on that extracts email addresses from all the emails within a folder. It retrieves addresses from the email source code (header and body). This is useful when an email is forwarded or when there are extra addresses within the email header (e.g. redirection email addresses):
- open the context menu on an folder of emails
- select Crawl folder for email addresses
- choose the destination mailing list (or choose a new one)
- choose some options, click OK
- then the add-on extracts email addresses from the folder emails content and stores them within the chosen mailing list
But, EMail Address Crawler may not compatible with your Thunderbird version. In order to force install, disable extensions.checkCompatibility
in the about:config
or simply use Disable Add-on Compatibility Checks. However, even disabling compatibility check, EMail Address Crawler may not be usable (the folder context menu may just open the address book window).
Moreover, there is another old add-on: CrowdMailer. This very basic add-on is still compatible with recent Thunderbird versions:
- copy-paste the email source code into the CrowdMailer dialogue box
CrowdMailer extracts the email addresses
CrowdMailer creates a new email filled with these extracted addresses
But I did not found a way to save these addresses within a mailing list... who has an idea?
add a comment |
I've found quite a simple solution to what I believe you're looking for. I set up squirrel mail. http://squirrelmail.org/
It's not pretty but it does the trick. It shows all addresses inline in the email as the actual email addresses and not the names so you can just copy and paste them.
Hope that helps
Craig
add a comment |
There is a new add-on that does the trick: emailpicky4.
Right-click over the folder from which you want to import email addresses to your contacts and choose "Pick IDs From This Folder"
some nice refinements are available in the popup.
https://addons.mozilla.org/en-US/thunderbird/addon/emailpicky-4/?src=search
1
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
add a comment |
This answer builds on Dee’s answer,
the comments by Tai Viinikka and Dan Stevens,
and the attempt by Giacomo Ciani to edit Dee’s answer.
Aside from some editorial polishing, all credit should go to them.
It is possible to copy email addresses
from a message’s “To”, “Cc”, and “Bcc” headers in Thunderbird.
It is not clear what “automatically” means in this context.
Just use “Message Source” in the “View” menu.
You’ll see all the same details as in the header of the email,
but in a format you can copy and paste.
In more detail:
You’ll need to copy the email addresses
(they are separated by commas) into one of the addressee fields.
As soon as you hit Enter,
Thunderbird will give each address its separate line.
Quick and easy.
You must have at least one address in a “To:” field;
then you can change additional “To:” fields into “Cc:” or “Bcc:”
before you hit Enter.
As noted in the comments on the original answer,
this may result in Thunderbird inserting double commas between entries,
and then interpreting one of the two commas as part of the address,
which then does not work.
Giacomo Ciani reports that, on his system (Thunderbird 45.4 on Windows 10),
this is due to newline characters in the copied text.
For example, if the source displays:
addr1,
addr2
and you copy this text,
both the comma and the newline will be interpreted as separators,
resulting in addr1,,addr2
when you copy into the Thunderbird address field.
Then, apparently, the second comma is interpreted as a literal character
and not a separator.
This results in the two addresses being parsed
as addr1
and ,addr2
,
which obviously then does not work.
The solution Giacomo found is to copy the addresses from the message source
and paste them into Notepad++
(or any other text editor that can find and replace newline characters)
and remove all n
and r
characters,
then paste the result in the Thunderbird address field(s).
Not as quick or convenient, but it works.
The “it works” statement (above) is quoted from Giacomo’s submitted text
(I have not tested it).
Stéphane Gourichon subsequently added the following comment:
This simple solution is actually a hack that works
only if all e-mail addresses contain only 7-bit ASCII characters.
In all other situations,
the message source encodes them conforming to RFC 2047:
MIME (Multipurpose Internet Mail Extensions) Part Three:
Message Header Extensions for Non-ASCII Text.
Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
.
jlanza’s solution does not have this problem.
add a comment |
All,
I wrote this bash script that almost does all of what is needed to extract all email addresses from TBird, externally. Still working on the filter some.
#! /bin/bash
# Email Address extraction script to get Thunderbird EMail addresses from email files.
# Get current directory
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
curdir="$DIR";
#echo "C=>$curdir";
# Declare the Local Folders dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/Local Folders";
# Change to First TB directory
cd "$tbdir";
# Run the grep statement to get the addresses
grep '^(From|To|Cc|CCBcc|BCC):' Drafts | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i > /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Sent | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the gmail.com dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/gmail.com";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the IMapMail dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/ImapMail/imap.googlemail.com/[Gmail].sbd";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' 'All Mail' | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Sort the output for unique addresses
cp /home/$USER/myfiles/all-addresses.txt /home/$USER/myfiles/all-addresses.old.txt
sort /home/$USER/myfiles/all-addresses.old.txt | uniq -u > /home/$USER/myfiles/all-addresses.txt
# Change back to current directory
cd "$curdir";
Give it a go and tweak it as needed and report your changes here!
Cheers!
OMR
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
add a comment |
If you have several mails, then I would just export all the emails and write a little script, that extracts all the email addresses from the files. Then you really have it automatically. Of course that's only good, if you have more than one email.
add a comment |
EASY:
- Use 'ImportExport Tool' Thunderbird addon to export all messages to disk (all in a single file OR as individual text files).
- Use Power Email Address Extractor to extract email addresses from the above files. The program is VERY flexible.
Update:
You can actually skip step 1 by extracting with Power Email Address Extractor directly the Thunderbird DB inbox file (like: c:UsersMeAppDataRoamingThunderbirdProfiles5akde98.defaultMailmail.yourserver.comInbox.sbdInbox )
add a comment |
From a french forum, working for Thunderbird 60.
In Thunderbird
- Go to
Settings
- Click on
Advanced
- Search
extensions.strictCompatibility
and set it atfalse
In your browser
- Search for EmailPicky 4 on Thunderbird addons and download
In Thunderbird
- Go to
Tools
- Slick on
Settings icon
- Choose
Install module from a file
- Choose the file
emailpicky_4-4.0-tb.xpi
- Restart
You are good, your can right click on any folder and Crawl folder for email addresses
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f353181%2fhow-to-copy-all-email-addresses-from-an-email-in-thunderbird%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
10 Answers
10
active
oldest
votes
10 Answers
10
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, you can. Just use Message Source
in the View
menu.
You'll see all the same details as in the header of the e-mail but in a format you can copy and paste...
In more detail.
You'll need to copy the email addresses (they are separated by commas) into one of the To: fields. As soon as you hit Enter Thunderbird will give each address its separate line. Quick and easy.
If you already have at least one address in a To: field, you may change the second To: into Cc: before you hit enter. Then all the added addresses are Cc!
2
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.
– Stéphane Gourichon
Dec 2 '16 at 8:48
add a comment |
Yes, you can. Just use Message Source
in the View
menu.
You'll see all the same details as in the header of the e-mail but in a format you can copy and paste...
In more detail.
You'll need to copy the email addresses (they are separated by commas) into one of the To: fields. As soon as you hit Enter Thunderbird will give each address its separate line. Quick and easy.
If you already have at least one address in a To: field, you may change the second To: into Cc: before you hit enter. Then all the added addresses are Cc!
2
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.
– Stéphane Gourichon
Dec 2 '16 at 8:48
add a comment |
Yes, you can. Just use Message Source
in the View
menu.
You'll see all the same details as in the header of the e-mail but in a format you can copy and paste...
In more detail.
You'll need to copy the email addresses (they are separated by commas) into one of the To: fields. As soon as you hit Enter Thunderbird will give each address its separate line. Quick and easy.
If you already have at least one address in a To: field, you may change the second To: into Cc: before you hit enter. Then all the added addresses are Cc!
Yes, you can. Just use Message Source
in the View
menu.
You'll see all the same details as in the header of the e-mail but in a format you can copy and paste...
In more detail.
You'll need to copy the email addresses (they are separated by commas) into one of the To: fields. As soon as you hit Enter Thunderbird will give each address its separate line. Quick and easy.
If you already have at least one address in a To: field, you may change the second To: into Cc: before you hit enter. Then all the added addresses are Cc!
edited Sep 20 '13 at 14:54
Community♦
1
1
answered Jan 9 '12 at 4:13
Dee
14113
14113
2
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.
– Stéphane Gourichon
Dec 2 '16 at 8:48
add a comment |
2
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.
– Stéphane Gourichon
Dec 2 '16 at 8:48
2
2
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
This is a wise way to go, but at the same time, it gave me problems. The reason is that in the message source, addresses are comma-separated. But when I paste into a To: field, those commas end up as part of each email address! (Because the To: field expects a single address as entry, or a series of space-separated addresses?) Am I crazy, or is Thunderbird?
– Tai Viinikka
Jan 3 '16 at 5:41
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
When I paste in the recipients they are separated by 2 commas ',,' and not one, even though it only shows one comma in the source. Does anyone else get this? Thunderbird split the entries, but now they all begin with a comma. I tried sending the message as it was but I got a 'Returned mail' message from the mail server. Not quick and easy as you say!
– Dan Stevens
Sep 23 '16 at 10:21
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes
=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.– Stéphane Gourichon
Dec 2 '16 at 8:48
This simple solution is actually a hack that only works if all e-mail adresses contain only 7-bit ascii characters. In all other situations the message source encodes them conforming to ietf.org/rfc/rfc2047.txt . Example: Stéphane becomes
=?UTF-8?Q?St=C3=A9phane?=
. @jlanza's solution does not have this problem.– Stéphane Gourichon
Dec 2 '16 at 8:48
add a comment |
What I usually do is ... Forward email. I have my TB configured to forward inline. Then, there you get all the headers in text. I just copy the mails and the paste in the new message.
Done ;)
1
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
add a comment |
What I usually do is ... Forward email. I have my TB configured to forward inline. Then, there you get all the headers in text. I just copy the mails and the paste in the new message.
Done ;)
1
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
add a comment |
What I usually do is ... Forward email. I have my TB configured to forward inline. Then, there you get all the headers in text. I just copy the mails and the paste in the new message.
Done ;)
What I usually do is ... Forward email. I have my TB configured to forward inline. Then, there you get all the headers in text. I just copy the mails and the paste in the new message.
Done ;)
answered Feb 21 '12 at 15:05
jlanza
205310
205310
1
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
add a comment |
1
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
1
1
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
How do you configure TB to forward inline ?
– Nikana Reklawyks
Nov 19 '12 at 16:42
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
@NikanaReklawyks TB forwards inline by default. In recent versions of TB the forward command, either in top menu or context menu both offer "inline" and "as attachment".
– Stéphane Gourichon
Dec 2 '16 at 8:50
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
A more complete description: ask TB to "forward inline", in the generated message you get a table when you can select sender and recipients adresses at will, copy, paste wherever you want, then destroy the generated message without sending. It does work. Still, it's convoluted.
– Stéphane Gourichon
Dec 2 '16 at 8:54
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
The problem with this is that it will tread the new e-mail in the same thread as the old one, which messes up thread-based views.
– Wrzlprmft
May 29 '18 at 11:24
add a comment |
I have answered a similar question: create address list (mailing) from email recipients.
EMail Address Crawler is a very old Thunderbird add-on that extracts email addresses from all the emails within a folder. It retrieves addresses from the email source code (header and body). This is useful when an email is forwarded or when there are extra addresses within the email header (e.g. redirection email addresses):
- open the context menu on an folder of emails
- select Crawl folder for email addresses
- choose the destination mailing list (or choose a new one)
- choose some options, click OK
- then the add-on extracts email addresses from the folder emails content and stores them within the chosen mailing list
But, EMail Address Crawler may not compatible with your Thunderbird version. In order to force install, disable extensions.checkCompatibility
in the about:config
or simply use Disable Add-on Compatibility Checks. However, even disabling compatibility check, EMail Address Crawler may not be usable (the folder context menu may just open the address book window).
Moreover, there is another old add-on: CrowdMailer. This very basic add-on is still compatible with recent Thunderbird versions:
- copy-paste the email source code into the CrowdMailer dialogue box
CrowdMailer extracts the email addresses
CrowdMailer creates a new email filled with these extracted addresses
But I did not found a way to save these addresses within a mailing list... who has an idea?
add a comment |
I have answered a similar question: create address list (mailing) from email recipients.
EMail Address Crawler is a very old Thunderbird add-on that extracts email addresses from all the emails within a folder. It retrieves addresses from the email source code (header and body). This is useful when an email is forwarded or when there are extra addresses within the email header (e.g. redirection email addresses):
- open the context menu on an folder of emails
- select Crawl folder for email addresses
- choose the destination mailing list (or choose a new one)
- choose some options, click OK
- then the add-on extracts email addresses from the folder emails content and stores them within the chosen mailing list
But, EMail Address Crawler may not compatible with your Thunderbird version. In order to force install, disable extensions.checkCompatibility
in the about:config
or simply use Disable Add-on Compatibility Checks. However, even disabling compatibility check, EMail Address Crawler may not be usable (the folder context menu may just open the address book window).
Moreover, there is another old add-on: CrowdMailer. This very basic add-on is still compatible with recent Thunderbird versions:
- copy-paste the email source code into the CrowdMailer dialogue box
CrowdMailer extracts the email addresses
CrowdMailer creates a new email filled with these extracted addresses
But I did not found a way to save these addresses within a mailing list... who has an idea?
add a comment |
I have answered a similar question: create address list (mailing) from email recipients.
EMail Address Crawler is a very old Thunderbird add-on that extracts email addresses from all the emails within a folder. It retrieves addresses from the email source code (header and body). This is useful when an email is forwarded or when there are extra addresses within the email header (e.g. redirection email addresses):
- open the context menu on an folder of emails
- select Crawl folder for email addresses
- choose the destination mailing list (or choose a new one)
- choose some options, click OK
- then the add-on extracts email addresses from the folder emails content and stores them within the chosen mailing list
But, EMail Address Crawler may not compatible with your Thunderbird version. In order to force install, disable extensions.checkCompatibility
in the about:config
or simply use Disable Add-on Compatibility Checks. However, even disabling compatibility check, EMail Address Crawler may not be usable (the folder context menu may just open the address book window).
Moreover, there is another old add-on: CrowdMailer. This very basic add-on is still compatible with recent Thunderbird versions:
- copy-paste the email source code into the CrowdMailer dialogue box
CrowdMailer extracts the email addresses
CrowdMailer creates a new email filled with these extracted addresses
But I did not found a way to save these addresses within a mailing list... who has an idea?
I have answered a similar question: create address list (mailing) from email recipients.
EMail Address Crawler is a very old Thunderbird add-on that extracts email addresses from all the emails within a folder. It retrieves addresses from the email source code (header and body). This is useful when an email is forwarded or when there are extra addresses within the email header (e.g. redirection email addresses):
- open the context menu on an folder of emails
- select Crawl folder for email addresses
- choose the destination mailing list (or choose a new one)
- choose some options, click OK
- then the add-on extracts email addresses from the folder emails content and stores them within the chosen mailing list
But, EMail Address Crawler may not compatible with your Thunderbird version. In order to force install, disable extensions.checkCompatibility
in the about:config
or simply use Disable Add-on Compatibility Checks. However, even disabling compatibility check, EMail Address Crawler may not be usable (the folder context menu may just open the address book window).
Moreover, there is another old add-on: CrowdMailer. This very basic add-on is still compatible with recent Thunderbird versions:
- copy-paste the email source code into the CrowdMailer dialogue box
CrowdMailer extracts the email addresses
CrowdMailer creates a new email filled with these extracted addresses
But I did not found a way to save these addresses within a mailing list... who has an idea?
edited Mar 20 '17 at 10:17
Community♦
1
1
answered May 4 '13 at 12:48


olibre
1,0371011
1,0371011
add a comment |
add a comment |
I've found quite a simple solution to what I believe you're looking for. I set up squirrel mail. http://squirrelmail.org/
It's not pretty but it does the trick. It shows all addresses inline in the email as the actual email addresses and not the names so you can just copy and paste them.
Hope that helps
Craig
add a comment |
I've found quite a simple solution to what I believe you're looking for. I set up squirrel mail. http://squirrelmail.org/
It's not pretty but it does the trick. It shows all addresses inline in the email as the actual email addresses and not the names so you can just copy and paste them.
Hope that helps
Craig
add a comment |
I've found quite a simple solution to what I believe you're looking for. I set up squirrel mail. http://squirrelmail.org/
It's not pretty but it does the trick. It shows all addresses inline in the email as the actual email addresses and not the names so you can just copy and paste them.
Hope that helps
Craig
I've found quite a simple solution to what I believe you're looking for. I set up squirrel mail. http://squirrelmail.org/
It's not pretty but it does the trick. It shows all addresses inline in the email as the actual email addresses and not the names so you can just copy and paste them.
Hope that helps
Craig
answered Nov 7 '13 at 6:54
user270134
111
111
add a comment |
add a comment |
There is a new add-on that does the trick: emailpicky4.
Right-click over the folder from which you want to import email addresses to your contacts and choose "Pick IDs From This Folder"
some nice refinements are available in the popup.
https://addons.mozilla.org/en-US/thunderbird/addon/emailpicky-4/?src=search
1
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
add a comment |
There is a new add-on that does the trick: emailpicky4.
Right-click over the folder from which you want to import email addresses to your contacts and choose "Pick IDs From This Folder"
some nice refinements are available in the popup.
https://addons.mozilla.org/en-US/thunderbird/addon/emailpicky-4/?src=search
1
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
add a comment |
There is a new add-on that does the trick: emailpicky4.
Right-click over the folder from which you want to import email addresses to your contacts and choose "Pick IDs From This Folder"
some nice refinements are available in the popup.
https://addons.mozilla.org/en-US/thunderbird/addon/emailpicky-4/?src=search
There is a new add-on that does the trick: emailpicky4.
Right-click over the folder from which you want to import email addresses to your contacts and choose "Pick IDs From This Folder"
some nice refinements are available in the popup.
https://addons.mozilla.org/en-US/thunderbird/addon/emailpicky-4/?src=search
answered Apr 26 '15 at 20:18
Ted Ballou
111
111
1
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
add a comment |
1
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
1
1
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
Thanks for your feedback, but that add-on does not adress OP's question. It allows to extract adresses from emails within a folder, and I could'nt figure any simple way to extract the adress from a single email.
– Clément
Jan 14 '16 at 4:29
add a comment |
This answer builds on Dee’s answer,
the comments by Tai Viinikka and Dan Stevens,
and the attempt by Giacomo Ciani to edit Dee’s answer.
Aside from some editorial polishing, all credit should go to them.
It is possible to copy email addresses
from a message’s “To”, “Cc”, and “Bcc” headers in Thunderbird.
It is not clear what “automatically” means in this context.
Just use “Message Source” in the “View” menu.
You’ll see all the same details as in the header of the email,
but in a format you can copy and paste.
In more detail:
You’ll need to copy the email addresses
(they are separated by commas) into one of the addressee fields.
As soon as you hit Enter,
Thunderbird will give each address its separate line.
Quick and easy.
You must have at least one address in a “To:” field;
then you can change additional “To:” fields into “Cc:” or “Bcc:”
before you hit Enter.
As noted in the comments on the original answer,
this may result in Thunderbird inserting double commas between entries,
and then interpreting one of the two commas as part of the address,
which then does not work.
Giacomo Ciani reports that, on his system (Thunderbird 45.4 on Windows 10),
this is due to newline characters in the copied text.
For example, if the source displays:
addr1,
addr2
and you copy this text,
both the comma and the newline will be interpreted as separators,
resulting in addr1,,addr2
when you copy into the Thunderbird address field.
Then, apparently, the second comma is interpreted as a literal character
and not a separator.
This results in the two addresses being parsed
as addr1
and ,addr2
,
which obviously then does not work.
The solution Giacomo found is to copy the addresses from the message source
and paste them into Notepad++
(or any other text editor that can find and replace newline characters)
and remove all n
and r
characters,
then paste the result in the Thunderbird address field(s).
Not as quick or convenient, but it works.
The “it works” statement (above) is quoted from Giacomo’s submitted text
(I have not tested it).
Stéphane Gourichon subsequently added the following comment:
This simple solution is actually a hack that works
only if all e-mail addresses contain only 7-bit ASCII characters.
In all other situations,
the message source encodes them conforming to RFC 2047:
MIME (Multipurpose Internet Mail Extensions) Part Three:
Message Header Extensions for Non-ASCII Text.
Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
.
jlanza’s solution does not have this problem.
add a comment |
This answer builds on Dee’s answer,
the comments by Tai Viinikka and Dan Stevens,
and the attempt by Giacomo Ciani to edit Dee’s answer.
Aside from some editorial polishing, all credit should go to them.
It is possible to copy email addresses
from a message’s “To”, “Cc”, and “Bcc” headers in Thunderbird.
It is not clear what “automatically” means in this context.
Just use “Message Source” in the “View” menu.
You’ll see all the same details as in the header of the email,
but in a format you can copy and paste.
In more detail:
You’ll need to copy the email addresses
(they are separated by commas) into one of the addressee fields.
As soon as you hit Enter,
Thunderbird will give each address its separate line.
Quick and easy.
You must have at least one address in a “To:” field;
then you can change additional “To:” fields into “Cc:” or “Bcc:”
before you hit Enter.
As noted in the comments on the original answer,
this may result in Thunderbird inserting double commas between entries,
and then interpreting one of the two commas as part of the address,
which then does not work.
Giacomo Ciani reports that, on his system (Thunderbird 45.4 on Windows 10),
this is due to newline characters in the copied text.
For example, if the source displays:
addr1,
addr2
and you copy this text,
both the comma and the newline will be interpreted as separators,
resulting in addr1,,addr2
when you copy into the Thunderbird address field.
Then, apparently, the second comma is interpreted as a literal character
and not a separator.
This results in the two addresses being parsed
as addr1
and ,addr2
,
which obviously then does not work.
The solution Giacomo found is to copy the addresses from the message source
and paste them into Notepad++
(or any other text editor that can find and replace newline characters)
and remove all n
and r
characters,
then paste the result in the Thunderbird address field(s).
Not as quick or convenient, but it works.
The “it works” statement (above) is quoted from Giacomo’s submitted text
(I have not tested it).
Stéphane Gourichon subsequently added the following comment:
This simple solution is actually a hack that works
only if all e-mail addresses contain only 7-bit ASCII characters.
In all other situations,
the message source encodes them conforming to RFC 2047:
MIME (Multipurpose Internet Mail Extensions) Part Three:
Message Header Extensions for Non-ASCII Text.
Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
.
jlanza’s solution does not have this problem.
add a comment |
This answer builds on Dee’s answer,
the comments by Tai Viinikka and Dan Stevens,
and the attempt by Giacomo Ciani to edit Dee’s answer.
Aside from some editorial polishing, all credit should go to them.
It is possible to copy email addresses
from a message’s “To”, “Cc”, and “Bcc” headers in Thunderbird.
It is not clear what “automatically” means in this context.
Just use “Message Source” in the “View” menu.
You’ll see all the same details as in the header of the email,
but in a format you can copy and paste.
In more detail:
You’ll need to copy the email addresses
(they are separated by commas) into one of the addressee fields.
As soon as you hit Enter,
Thunderbird will give each address its separate line.
Quick and easy.
You must have at least one address in a “To:” field;
then you can change additional “To:” fields into “Cc:” or “Bcc:”
before you hit Enter.
As noted in the comments on the original answer,
this may result in Thunderbird inserting double commas between entries,
and then interpreting one of the two commas as part of the address,
which then does not work.
Giacomo Ciani reports that, on his system (Thunderbird 45.4 on Windows 10),
this is due to newline characters in the copied text.
For example, if the source displays:
addr1,
addr2
and you copy this text,
both the comma and the newline will be interpreted as separators,
resulting in addr1,,addr2
when you copy into the Thunderbird address field.
Then, apparently, the second comma is interpreted as a literal character
and not a separator.
This results in the two addresses being parsed
as addr1
and ,addr2
,
which obviously then does not work.
The solution Giacomo found is to copy the addresses from the message source
and paste them into Notepad++
(or any other text editor that can find and replace newline characters)
and remove all n
and r
characters,
then paste the result in the Thunderbird address field(s).
Not as quick or convenient, but it works.
The “it works” statement (above) is quoted from Giacomo’s submitted text
(I have not tested it).
Stéphane Gourichon subsequently added the following comment:
This simple solution is actually a hack that works
only if all e-mail addresses contain only 7-bit ASCII characters.
In all other situations,
the message source encodes them conforming to RFC 2047:
MIME (Multipurpose Internet Mail Extensions) Part Three:
Message Header Extensions for Non-ASCII Text.
Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
.
jlanza’s solution does not have this problem.
This answer builds on Dee’s answer,
the comments by Tai Viinikka and Dan Stevens,
and the attempt by Giacomo Ciani to edit Dee’s answer.
Aside from some editorial polishing, all credit should go to them.
It is possible to copy email addresses
from a message’s “To”, “Cc”, and “Bcc” headers in Thunderbird.
It is not clear what “automatically” means in this context.
Just use “Message Source” in the “View” menu.
You’ll see all the same details as in the header of the email,
but in a format you can copy and paste.
In more detail:
You’ll need to copy the email addresses
(they are separated by commas) into one of the addressee fields.
As soon as you hit Enter,
Thunderbird will give each address its separate line.
Quick and easy.
You must have at least one address in a “To:” field;
then you can change additional “To:” fields into “Cc:” or “Bcc:”
before you hit Enter.
As noted in the comments on the original answer,
this may result in Thunderbird inserting double commas between entries,
and then interpreting one of the two commas as part of the address,
which then does not work.
Giacomo Ciani reports that, on his system (Thunderbird 45.4 on Windows 10),
this is due to newline characters in the copied text.
For example, if the source displays:
addr1,
addr2
and you copy this text,
both the comma and the newline will be interpreted as separators,
resulting in addr1,,addr2
when you copy into the Thunderbird address field.
Then, apparently, the second comma is interpreted as a literal character
and not a separator.
This results in the two addresses being parsed
as addr1
and ,addr2
,
which obviously then does not work.
The solution Giacomo found is to copy the addresses from the message source
and paste them into Notepad++
(or any other text editor that can find and replace newline characters)
and remove all n
and r
characters,
then paste the result in the Thunderbird address field(s).
Not as quick or convenient, but it works.
The “it works” statement (above) is quoted from Giacomo’s submitted text
(I have not tested it).
Stéphane Gourichon subsequently added the following comment:
This simple solution is actually a hack that works
only if all e-mail addresses contain only 7-bit ASCII characters.
In all other situations,
the message source encodes them conforming to RFC 2047:
MIME (Multipurpose Internet Mail Extensions) Part Three:
Message Header Extensions for Non-ASCII Text.
Example: Stéphane becomes=?UTF-8?Q?St=C3=A9phane?=
.
jlanza’s solution does not have this problem.
answered Dec 9 '16 at 21:40
community wiki
Scott
add a comment |
add a comment |
All,
I wrote this bash script that almost does all of what is needed to extract all email addresses from TBird, externally. Still working on the filter some.
#! /bin/bash
# Email Address extraction script to get Thunderbird EMail addresses from email files.
# Get current directory
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
curdir="$DIR";
#echo "C=>$curdir";
# Declare the Local Folders dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/Local Folders";
# Change to First TB directory
cd "$tbdir";
# Run the grep statement to get the addresses
grep '^(From|To|Cc|CCBcc|BCC):' Drafts | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i > /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Sent | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the gmail.com dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/gmail.com";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the IMapMail dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/ImapMail/imap.googlemail.com/[Gmail].sbd";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' 'All Mail' | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Sort the output for unique addresses
cp /home/$USER/myfiles/all-addresses.txt /home/$USER/myfiles/all-addresses.old.txt
sort /home/$USER/myfiles/all-addresses.old.txt | uniq -u > /home/$USER/myfiles/all-addresses.txt
# Change back to current directory
cd "$curdir";
Give it a go and tweak it as needed and report your changes here!
Cheers!
OMR
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
add a comment |
All,
I wrote this bash script that almost does all of what is needed to extract all email addresses from TBird, externally. Still working on the filter some.
#! /bin/bash
# Email Address extraction script to get Thunderbird EMail addresses from email files.
# Get current directory
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
curdir="$DIR";
#echo "C=>$curdir";
# Declare the Local Folders dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/Local Folders";
# Change to First TB directory
cd "$tbdir";
# Run the grep statement to get the addresses
grep '^(From|To|Cc|CCBcc|BCC):' Drafts | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i > /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Sent | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the gmail.com dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/gmail.com";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the IMapMail dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/ImapMail/imap.googlemail.com/[Gmail].sbd";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' 'All Mail' | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Sort the output for unique addresses
cp /home/$USER/myfiles/all-addresses.txt /home/$USER/myfiles/all-addresses.old.txt
sort /home/$USER/myfiles/all-addresses.old.txt | uniq -u > /home/$USER/myfiles/all-addresses.txt
# Change back to current directory
cd "$curdir";
Give it a go and tweak it as needed and report your changes here!
Cheers!
OMR
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
add a comment |
All,
I wrote this bash script that almost does all of what is needed to extract all email addresses from TBird, externally. Still working on the filter some.
#! /bin/bash
# Email Address extraction script to get Thunderbird EMail addresses from email files.
# Get current directory
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
curdir="$DIR";
#echo "C=>$curdir";
# Declare the Local Folders dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/Local Folders";
# Change to First TB directory
cd "$tbdir";
# Run the grep statement to get the addresses
grep '^(From|To|Cc|CCBcc|BCC):' Drafts | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i > /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Sent | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the gmail.com dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/gmail.com";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the IMapMail dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/ImapMail/imap.googlemail.com/[Gmail].sbd";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' 'All Mail' | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Sort the output for unique addresses
cp /home/$USER/myfiles/all-addresses.txt /home/$USER/myfiles/all-addresses.old.txt
sort /home/$USER/myfiles/all-addresses.old.txt | uniq -u > /home/$USER/myfiles/all-addresses.txt
# Change back to current directory
cd "$curdir";
Give it a go and tweak it as needed and report your changes here!
Cheers!
OMR
All,
I wrote this bash script that almost does all of what is needed to extract all email addresses from TBird, externally. Still working on the filter some.
#! /bin/bash
# Email Address extraction script to get Thunderbird EMail addresses from email files.
# Get current directory
DIR="$( cd -P "$( dirname "$0" )" && pwd )"
curdir="$DIR";
#echo "C=>$curdir";
# Declare the Local Folders dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/Local Folders";
# Change to First TB directory
cd "$tbdir";
# Run the grep statement to get the addresses
grep '^(From|To|Cc|CCBcc|BCC):' Drafts | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i > /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
grep '^(From|To|Cc|CCBcc|BCC):' Sent | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the gmail.com dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/Mail/gmail.com";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' Inbox | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Declare the IMapMail dir for Thunderbird
tbdir="/home/$USER/.thunderbird/$profile.default/ImapMail/imap.googlemail.com/[Gmail].sbd";
# Change to New TB directory
cd "$tbdir";
grep '^(From|To|Cc|CCBcc|BCC):' 'All Mail' | grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}' | sort -f | uniq -i >> /home/$USER/myfiles/all-addresses.txt
# Sort the output for unique addresses
cp /home/$USER/myfiles/all-addresses.txt /home/$USER/myfiles/all-addresses.old.txt
sort /home/$USER/myfiles/all-addresses.old.txt | uniq -u > /home/$USER/myfiles/all-addresses.txt
# Change back to current directory
cd "$curdir";
Give it a go and tweak it as needed and report your changes here!
Cheers!
OMR
answered Jan 12 '17 at 1:47
OldManRiver
191
191
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
add a comment |
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
Noticed the "All Mail" is no longer available in TBird, via the grep method, but still shows in TBird.
– OldManRiver
Jan 12 '17 at 3:05
add a comment |
If you have several mails, then I would just export all the emails and write a little script, that extracts all the email addresses from the files. Then you really have it automatically. Of course that's only good, if you have more than one email.
add a comment |
If you have several mails, then I would just export all the emails and write a little script, that extracts all the email addresses from the files. Then you really have it automatically. Of course that's only good, if you have more than one email.
add a comment |
If you have several mails, then I would just export all the emails and write a little script, that extracts all the email addresses from the files. Then you really have it automatically. Of course that's only good, if you have more than one email.
If you have several mails, then I would just export all the emails and write a little script, that extracts all the email addresses from the files. Then you really have it automatically. Of course that's only good, if you have more than one email.
answered Jan 9 '12 at 8:08
Feroc
2721316
2721316
add a comment |
add a comment |
EASY:
- Use 'ImportExport Tool' Thunderbird addon to export all messages to disk (all in a single file OR as individual text files).
- Use Power Email Address Extractor to extract email addresses from the above files. The program is VERY flexible.
Update:
You can actually skip step 1 by extracting with Power Email Address Extractor directly the Thunderbird DB inbox file (like: c:UsersMeAppDataRoamingThunderbirdProfiles5akde98.defaultMailmail.yourserver.comInbox.sbdInbox )
add a comment |
EASY:
- Use 'ImportExport Tool' Thunderbird addon to export all messages to disk (all in a single file OR as individual text files).
- Use Power Email Address Extractor to extract email addresses from the above files. The program is VERY flexible.
Update:
You can actually skip step 1 by extracting with Power Email Address Extractor directly the Thunderbird DB inbox file (like: c:UsersMeAppDataRoamingThunderbirdProfiles5akde98.defaultMailmail.yourserver.comInbox.sbdInbox )
add a comment |
EASY:
- Use 'ImportExport Tool' Thunderbird addon to export all messages to disk (all in a single file OR as individual text files).
- Use Power Email Address Extractor to extract email addresses from the above files. The program is VERY flexible.
Update:
You can actually skip step 1 by extracting with Power Email Address Extractor directly the Thunderbird DB inbox file (like: c:UsersMeAppDataRoamingThunderbirdProfiles5akde98.defaultMailmail.yourserver.comInbox.sbdInbox )
EASY:
- Use 'ImportExport Tool' Thunderbird addon to export all messages to disk (all in a single file OR as individual text files).
- Use Power Email Address Extractor to extract email addresses from the above files. The program is VERY flexible.
Update:
You can actually skip step 1 by extracting with Power Email Address Extractor directly the Thunderbird DB inbox file (like: c:UsersMeAppDataRoamingThunderbirdProfiles5akde98.defaultMailmail.yourserver.comInbox.sbdInbox )
edited Mar 22 '17 at 18:53
answered Mar 22 '17 at 18:48


Rigel
1,00662141
1,00662141
add a comment |
add a comment |
From a french forum, working for Thunderbird 60.
In Thunderbird
- Go to
Settings
- Click on
Advanced
- Search
extensions.strictCompatibility
and set it atfalse
In your browser
- Search for EmailPicky 4 on Thunderbird addons and download
In Thunderbird
- Go to
Tools
- Slick on
Settings icon
- Choose
Install module from a file
- Choose the file
emailpicky_4-4.0-tb.xpi
- Restart
You are good, your can right click on any folder and Crawl folder for email addresses
.
add a comment |
From a french forum, working for Thunderbird 60.
In Thunderbird
- Go to
Settings
- Click on
Advanced
- Search
extensions.strictCompatibility
and set it atfalse
In your browser
- Search for EmailPicky 4 on Thunderbird addons and download
In Thunderbird
- Go to
Tools
- Slick on
Settings icon
- Choose
Install module from a file
- Choose the file
emailpicky_4-4.0-tb.xpi
- Restart
You are good, your can right click on any folder and Crawl folder for email addresses
.
add a comment |
From a french forum, working for Thunderbird 60.
In Thunderbird
- Go to
Settings
- Click on
Advanced
- Search
extensions.strictCompatibility
and set it atfalse
In your browser
- Search for EmailPicky 4 on Thunderbird addons and download
In Thunderbird
- Go to
Tools
- Slick on
Settings icon
- Choose
Install module from a file
- Choose the file
emailpicky_4-4.0-tb.xpi
- Restart
You are good, your can right click on any folder and Crawl folder for email addresses
.
From a french forum, working for Thunderbird 60.
In Thunderbird
- Go to
Settings
- Click on
Advanced
- Search
extensions.strictCompatibility
and set it atfalse
In your browser
- Search for EmailPicky 4 on Thunderbird addons and download
In Thunderbird
- Go to
Tools
- Slick on
Settings icon
- Choose
Install module from a file
- Choose the file
emailpicky_4-4.0-tb.xpi
- Restart
You are good, your can right click on any folder and Crawl folder for email addresses
.
answered Dec 21 '18 at 17:53


Antoine F.
12819
12819
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f353181%2fhow-to-copy-all-email-addresses-from-an-email-in-thunderbird%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
nq i,x3M3G