Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere

location email in the user folder

  • 5 svar
  • 0 har dette problem
  • 12 visninger
  • Seneste svar af david

more options

Hello! Please tell me where is the email in the user folder? There is a script that should connect to computers and extract mail from them. I tried it in file 'Inbox' and file 'Sent', but there is no uniformity and on other computers the email may not be in the specified places. Is there a common unchangeable place in the profile folder where the email is stored?

Hello! Please tell me where is the email in the user folder? There is a script that should connect to computers and extract mail from them. I tried it in file 'Inbox' and file 'Sent', but there is no uniformity and on other computers the email may not be in the specified places. Is there a common unchangeable place in the profile folder where the email is stored?

Alle svar (5)

more options

I don't know what you need, but this may help: - the profile default location is c:\users\<yourid>\appdata\roaming\thunderbird\profiles\<profilename> - within the profile the mail is normally in the imapmail folder for IMAP accounts and the Mail folder for POP accounts - within the relative imapmail or mail folder, the structure is <accountname>\<message folders> - message folders have two components, the message folder itself, and an index file ending in .msf - example would be inbox, inbox.msf, sent, sent.msf, etc.

To view your specific setup,

  1. click help>troubleshootinginformation
  2. scroll down to 'profile folder' and click 'open folder'
  3. you are now in the profile and the imapmail and mail folder are now visible.
more options

I need to extract user@example.com from the user profile folder. So my question is, HOW CAN I DO THIS? Here's an example of what I did after I remotely connected to the compueter: $str=type .\inbox|?{$_ -match "^to"}|select -first 1; if ($str.StartsWith('To: =?UTF-8?')){$name1=$str.split().split("@")[2];$name1=$name1.TrimStart('<'); $name1} else{ $name=$str.split().split("@")[1]; $name} $name will display user in this case, but when connecting to another computer, the account will be in a different place and $name will no longer display mail.

more options

You're seeking help in scripting and that is not a focus here. You may do better by locating a forum for that specific skill.

more options

What do they discuss on this forum?

more options

this forum focuses on using the Thunderbird email client and in helping people with retrieving and sending email. What you are wanting to do is not directly tied to Thunderbird.