I don't have an article specifically for that. :(
You have a mailbox provided by someone - be it your ISP, Outlook.com, Gmail, Yahoo etc - and need to read the mail sent to your address.
Most email providers have web mail - you use a web browser to read your mail right from the mail...
I've seen a few reports in Microsoft forums too. It's working here - with imap and 2FA. I'll test it on a second account that does not have 2FA enabled.
I know from experience with gmail, is they will turn off 2FA and make you review recent access before they will let you connect.
i just noticed this:
Set omail = objItem.Forward
Set NewEmail = objItem.Forward
Remove the omail lines - you aren't using that object. It didn't cause any errors for me though.
When you hover over objitem, does it show the subject? If the macro stopped on set omail, newemail will be...
i don't think you are going to be able to do this - all emails have a thread-index. which is longer in threads then in single messages but you really can't filter on that. Or use the In-Reply-To: line in the header. Or References: field.
What line does it stop on?
I have 3 errors, 2 might be just because I don't have your full code. With all 3 commented out, it works.
'....do whateever.... <<== is not commented out in the code you posted. Delete the line or comment it out.
.Body = Emsg & .Body...
>> Also, there is likely extraneous junk in the code below simply because I keep trying different things.
LOL. A lot of my code has unnecessary junk in it for the same reason.
Try this change:
srce = varTempFolder & *.*
From the way i read the documentation, it should add the folder contents...
First, it's not really an "upgrade" - it's just a different way of accessing the email account.
Open Outlook on your desktop - the new account wizard will open. Enter your address and click the button. Outlook will do the rest.
The symptoms point to a corrupt navpane. The fix is opening outlook with the /resetnavpane switch, which wipes out any customizations. Or rename the file so you can see if the profile is solved by a new navpane. It's and xml named for your profile at %appdata%\microsoft\outlook
If it is a business account and the mail is in a pst, the admin can upload it for import.
Outlook.com account can set up the other account as a connected account and sync everything over to outlook.com mailbox.
Otherwise, on, you need a copy of outlook.