Click here to Skip to main content
15,867,686 members
Home / Discussions / - Uncategorised posts -
   

- Uncategorised posts -

Please don't post in this forum. If you've posted in this forum it's because you've selected the first forum on the list without thinking through which forum would be best. All messages in this forum are periodically removed.

 
GeneralRe: Which one would be faster in Python i = i + 1 or i += 1 ? Pin
kalberts24-May-20 23:59
kalberts24-May-20 23:59 
GeneralRe: Which one would be faster in Python i = i + 1 or i += 1 ? Pin
Member 1484242525-May-20 0:01
Member 1484242525-May-20 0:01 
GeneralRe: Which one would be faster in Python i = i + 1 or i += 1 ? Pin
Superfine Construction4-Aug-20 19:39
Superfine Construction4-Aug-20 19:39 
QuestionMapping Drives... Pin
Michael Breeden25-Apr-20 8:37
Michael Breeden25-Apr-20 8:37 
AnswerRe: Mapping Drives... Pin
Richard Deeming27-Apr-20 0:17
mveRichard Deeming27-Apr-20 0:17 
GeneralRe: Mapping Drives... Pin
Michael Breeden27-Apr-20 1:09
Michael Breeden27-Apr-20 1:09 
QuestionRename EML files With Message Subject Line Pin
Member 1469381418-Dec-19 5:15
Member 1469381418-Dec-19 5:15 
AnswerRe: Rename EML files With Message Subject Line Pin
Richard Deeming18-Dec-19 6:20
mveRichard Deeming18-Dec-19 6:20 
You should be able to use MimeKit[^] to parse the file. If you just want the subject, you don't even need to load the whole file:
C#
public static string GetMessageSubject(string fileName)
{
    var headers = MimeKit.HeaderList.Load(fileName);
    return headers[MimeKit.HeaderId.Subject];
}
NB: Be aware that the message subject could contain characters which are not valid in a filename. It could also be longer than the maximum allowable filename, or make the file's path longer than the maximum allowable file path.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Rename EML files With Message Subject Line Pin
Member 1469381418-Dec-19 10:01
Member 1469381418-Dec-19 10:01 
GeneralRe: Rename EML files With Message Subject Line Pin
Richard Deeming19-Dec-19 1:18
mveRichard Deeming19-Dec-19 1:18 
QuestionCan a recent college graduate get a software job without an internship? Pin
tara lara17-Dec-19 13:03
tara lara17-Dec-19 13:03 
AnswerRe: Can a recent college graduate get a software job without an internship? Pin
Maciej Los17-Dec-19 22:21
mveMaciej Los17-Dec-19 22:21 
GeneralRe: Can a recent college graduate get a software job without an internship? Pin
tara lara18-Dec-19 7:32
tara lara18-Dec-19 7:32 
AnswerRe: Can a recent college graduate get a software job without an internship? Pin
ZurdoDev18-Dec-19 1:33
professionalZurdoDev18-Dec-19 1:33 
GeneralRe: Can a recent college graduate get a software job without an internship? Pin
tara lara18-Dec-19 7:32
tara lara18-Dec-19 7:32 
GeneralRe: Can a recent college graduate get a software job without an internship? Pin
ZurdoDev18-Dec-19 14:34
professionalZurdoDev18-Dec-19 14:34 
GeneralRe: Can a recent college graduate get a software job without an internship? Pin
tara lara18-Dec-19 14:46
tara lara18-Dec-19 14:46 
AnswerRe: Can a recent college graduate get a software job without an internship? Pin
Nasgarka8-Nov-20 7:52
Nasgarka8-Nov-20 7:52 
Questionpython programmer Pin
Member 1465192911-Nov-19 6:40
Member 1465192911-Nov-19 6:40 
AnswerRe: python programmer Pin
OriginalGriff11-Nov-19 6:42
mveOriginalGriff11-Nov-19 6:42 
AnswerRe: python programmer Pin
ZurdoDev2-Dec-19 7:04
professionalZurdoDev2-Dec-19 7:04 
QuestionHow to fix a dot net frame work error? Pin
amrinde8-Nov-19 0:25
professionalamrinde8-Nov-19 0:25 
AnswerRe: How to fix a dot net frame work error? Pin
Richard MacCutchan8-Nov-19 1:03
mveRichard MacCutchan8-Nov-19 1:03 
AnswerRe: How to fix a dot net frame work error? Pin
Jin Vincent Necesario17-Apr-20 18:52
professionalJin Vincent Necesario17-Apr-20 18:52 
Questioni programming language on rosetta code homepage. where to find more information about language i ? Pin
Member 146414301-Nov-19 1:17
Member 146414301-Nov-19 1:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.