0

我想为发送和接收传真配置一个 interfax 帐户。

谁能告诉我如何发送/接收测试传真?

我知道这些.sendFax().GetList()方法,但是我如何向自己发送传真(在测试帐户中)?

4

2 回答 2

0

我跟着文章,

通过回调到 Web 应用程序接收传入的传真

它工作正常。但它只会让您知道您已收到传真。

编辑:

您可以设置反馈网址并使用他们要求的参数。当 interfax 为您接收传真时,它会将其发送到您的反馈 url,并将直接转到您的数据库(如果您在页面加载事件中设置了此项)。

于 2013-04-03T06:46:36.377 回答
0

您可以使用以下代码

MessageItem[] faxList = null;
                Inbound inbound = new Inbound();
                ListType messageListType = ListType.NewMessages;
                int interFaxResult = inbound.GetList(AppConfig.InterfaxUsername, AppConfig.InterfaxPassword, messageListType, AppConfig.InterfaxMaxitems, ref faxList);
                if (interFaxResult == 0)
                {
                   // Save faxes in DB
                }
于 2014-05-15T09:52:20.777 回答