Hi,
i want to send an Mail to a SMTP-Server that automatically sends Mails, where the Recipient is coded like [FAX:] as Fax to the specified Number.
I tried the following:
message.To.Add(new MailAddress("<[FAX:" + number + "]>", number);
But Rebex, always convert it to the following Header: "[FAX:123456]" <123456]>
I also tried to set the Header directly:
message.Headers["To"] = new MimeHeader("To", new Unparsed("\"" + number + "\" <[FAX:" + number + "]>"));
In that Case i got a "No recipients found in the message."-Exception
Thanks for your Help!