You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual behaviour: File does not include Date header
Expected behaviour: Date should be set to current timestamp and included in the output
Steps: (1) Create new MimeMessage using CreateFromMailMessage (2) WriteTo file
Since I'm not sending the mail over a particular protocol, I guess there's nothing to log, please advise if protocol log is still required.
Note that if I manually set the timestamp before calling WriteTo then it is output.
Also, just wondering if it's possible to omit the day in the Date output as the .NET SmtpClient doesn't include the "Wed, " part when writing the date.
Thank you
Jonathan
The text was updated successfully, but these errors were encountered:
That makes sense. I was going to add that I since tried to send the email
with MimeKits SmtpClient and noticed the Date header was also not present
(also from the CreateFromMailMessage). Thanks for looking into it!
On Wed, May 23, 2018 at 1:17 PM, Jeffrey Stedfast ***@***.***> wrote:
The day string is part of the email standard.
Anyway, turns out this is only an issue with CreateFromMailMessage.
Creating a new MimeMessage using MimeKit API's sets the Date header.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#710 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABWR31CPFYUd2FpfJIq-toepb510-YIuks5t1Li-gaJpZM4UJf8I>
.
Hi Jeffrey
Since I'm not sending the mail over a particular protocol, I guess there's nothing to log, please advise if protocol log is still required.
Note that if I manually set the timestamp before calling WriteTo then it is output.
Also, just wondering if it's possible to omit the day in the Date output as the .NET SmtpClient doesn't include the "Wed, " part when writing the date.
Thank you
Jonathan
The text was updated successfully, but these errors were encountered: