Jeffrey Stedfast

Results 366 comments of Jeffrey Stedfast

Ok, this morning's batch of commits reduced memory allocations significantly for me.

I think you'll love these 2 performance improvements as well: * commit 8ecc1da687f3842ab6798e3554d86a2f9173ecc3 * commit c3df51475235d2720aee39e6fc8000850938e4c7

Wow, very cool! Just an FYI, instead of doing this: ``` csharp folder.SetFlags(uniqueId, MessageFlags.Seen, true); folder.SetFlags(uniqueId, MessageFlags.Deleted, true); ``` You actually want to do this: ``` csharp folder.AddFlags(uniqueId, MessageFlags.Seen |...

The ImapIdle sample is definitely something you want to look at for what you are trying to do, but you'll need to re-work the `done` CancellationToken such that you can...

Yea, so there's just the `folder.CountChanged` event now. The `MessagesArrived` just used a hack where it compared the old `Count` value with the new `Count` value and if the new...

I saw someone else mentioned in the System.Net.Mail bug report that you should verify that your SMTP server isn't throttling you and I would second that suggestion. If throttling is...

Does the SMTP server advertise any authentication mechanisms? See the protocol log to find out. ```csharp using (SmtpClient smtp = new SmtpClient(new ProtocolLogger ("smtp.log"))) ... ``` FWIW, if the SMTP...

The 1.22.0 slowdown is probably caused by memory consumption due to MimeMessage not being disposable. The SmtpClient code hasn't changed a whole lot since 1.22.0 other than being made Async...

Something else that is likely slowing it down (but might be minimal in your test case) is you aren't setting a ContentTransferEncoding on your TextPart which means that SmtpClient has...

Yea, it's not obvious to me where performance can be improved.