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
{{ message }}
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
I'm using fakeSmtp for unit testing in my .Net Core project with random generated test data by Faker.Net.
Sending a mail with characters that are not part of ASCII leads to the following exception:
Message: System.Net.Mail.SmtpException : The client or server is only configured for E-mail addresses with ASCII local-parts: valentina_möcks@krolsussmann.ch.
In my configuration I set the host to localhost, the port to 25 and the DeliveryFormat to SmtpDeliveryFormat.International.
When creating a mailAddress object I use Encoding.Utf8.
How can I use FakeSMTP to send mails with UTF-8 encoded mail addresses? Thank you
The text was updated successfully, but these errors were encountered:
Do you have a call stack (of the exception) from the FakeSMTP server? It will probably give us a clue what settings should be changed.
Unfortunately, this project seems dead to me, the owner hasn't accepted PRs since ages :(
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using fakeSmtp for unit testing in my .Net Core project with random generated test data by Faker.Net.
Sending a mail with characters that are not part of ASCII leads to the following exception:
In my configuration I set the host to
localhost
, the port to25
and the DeliveryFormat toSmtpDeliveryFormat.International
.When creating a mailAddress object I use
Encoding.Utf8
.How can I use FakeSMTP to send mails with UTF-8 encoded mail addresses? Thank you
The text was updated successfully, but these errors were encountered: