By writing this:
var recipient = new MailAddress("name@abcø.dk");
Note the "ø" in the domain part.
I get an exception message:
System.FormatException: The specified string is not in the form required for the email address. in System.Net.Mime.MailBnfHelper.ReadMailAddress (data String, Int32 & offset, String & displayName) in System.Net.Mail.MailAddress.ParseValue (string address) in System.Net.Mail.MailAddress..ctor (String address , String displayName, Encoding displayNameEncoding) in System.Net.Mail.MailAddress..ctor (string address)
The address used must be absolutely correct.
So, I assume that I need to encode the address somehow?