我想配置一个用于发送和接收传真的interfax帐户。
谁能告诉我如何发送/接收测试传真?
我知道.sendFax()和.GetList()方法,但我如何向自己发送传真(在测试帐户中)?
发布于 2013-04-03 14:46:36
我看了那篇文章,
Receive incoming faxes via callback to a web application
它工作得很好。但它只提示您已收到传真。
编辑:
您可以设置反馈url并使用他们要求的参数。当国际文传电讯社为您接收传真时,它会将传真发送到您的反馈url,它将直接进入您的数据库(如果您在页面加载事件中设置了此设置)。
发布于 2014-05-15 17:52:21
您可以使用以下代码
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
}https://stackoverflow.com/questions/15412437
复制相似问题