这是我目前拥有的:
var faxserver = new FaxServerClass
{
ServerName = "{server ip}",
AuthorizationUserID = @"{my username}",
Protocol = CommunicationProtocolType.cpTCPIP,
UseNTAuthentication = BoolType.False
};
faxserver.OpenServer();
var fax = (Fax) faxserver.get_CreateObject2(@"{my username}", CreateObjectType.coFax);
fax.ToEmailAddress = "{my email}";
fax.IsINLJob = BoolType.False;
fax.EmailSubject = "Some random subject";
fax.IsProductionFax = BoolType.True;
fax.Send();
此代码不会引发任何异常,但查看 FaxUtil 我看到“转换传真正文或封面时出现问题”。我怎样才能解决这个问题?
不幸的是,该产品几乎没有关于其 API 的文档。我能找到的只有这个链接。