通过 ColdFusion Web 应用程序访问传真

发布于 2024-07-23 21:56:05 字数 423 浏览 8 评论 0原文

我们正在使用 MS SQL 后端在 ColdFusion 中为一所大学编写一个测试 Web 应用程序。

现在,我们必须手动将传真发送到传真机,然后找到与它们相关的帐户并输入信息(如果我们需要再次引用,则必须在文件柜中找到实际的传真)。 我想做的是创建一种方式,让某人可以传真到某个号码,然后将传真发送到我们指定的电子邮件帐户。

如果工作正常,我们将需要一种方法来获取电子邮件,将其存储在我们服务器上的某个位置,然后将其链接到帐户。 链接过程可能必须是手动的,我们对此表示同意,但我们主要关注的是一种简单的方法,可以在 ColdFusion 应用程序中以 PDF 形式查看发送到该电子邮件的所有传真(可通过我们分配的名称进行搜索)寻找,这样我们就不必将传真写在纸上并手工归档。

有办法做到这一点吗? 最好不要通过付费服务,因为我们几乎可以自己编写所需的任何内容。

We're programming a Testing Web Application for a University in ColdFusion with a MS SQL Backend.

Right now we have to manually take faxes sent to our fax machine and then find the account they are related to and input the info (the actual fax has to be found in a filing cabinet if we ever need to reference it again). What I would like to do is create a way for someone to fax to a certain number and then the fax be sent to an email account we specify.

If that worked properly we would need a way to get the email, store it somewhere on our servers and then link it to an account. The linking process would probably have to be manual and we are ok with that, but an easy way to view all the faxes sent to that email in our ColdFusion application in PDF form (searchable by the name we assign it) is what we are mainly looking for, so that we don't have to get the faxes on paper and file them by hand.

Is there a way to accomplish this? Preferably not through a paid service as we can program almost anything we need ourselves.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

仙女 2024-07-30 21:56:05

嗯...您尝试过电子传真等服务吗?

Hmm... have you tried services like eFax?

何时共饮酒 2024-07-30 21:56:05

为什么要重新发明轮子? eFaxjConnect(还有其他几个,只是 Google“电子传真”服务”)价格实惠,并且可以完成您想做的事情的一半。 节省自己的精力,只需花几块钱。 您可能还会发现,仅支付服务费用比支付开发人员编写软件的费用要少。

因此,在您硬着头皮注册电子传真服务后,您只需要一个电子邮件帐户即可发送并使用 CFPOP 查看收件箱并下载附件。 剩下的就是小菜一碟了。

Why reinvent the wheel? Services like eFax and jConnect (there are several others, just Google "electronic fax service") are affordable and do half of what you are trying to do. Save yourself the effort and just spend a few bucks. You'll probably find out, too, that it will cost you less to just pay for the service than it would cost you to pay the developer to write the software.

So after you bite the bullet and sign up for an electronic faxing service, you just need an email account for it to send to, and to use CFPOP to check the inbox and download the attachments. The rest is a piece of cake.

情魔剑神 2024-07-30 21:56:05

从声音来看,我已经用 Coldfusion 构建了与此传真设置相同的东西。

经过几次试验和错误后,我发现最好的方法是:

1) 数字化传入传真:将所有传真发送到您可以通过 CF 查看的电子邮件地址,或者发送到您保存传真的网络文件夹,您可以使用 CF 检查。 您完全可以保留您的传真号码,只需将来电转接至您的数字传真号码即可。

2) 处理收到的传真 当您发现新传真时,最好对其进行处理并进行记录。 我存储文件名之类的信息,找出它来自的传真号码,对照已知号码列表进行检查,并制定路由表(以防需要发送给某人)。

3) 打印和路由传真 也可以通过 CF 自动打印一次在 CF 中的文档。

至于桌子,我保留了一张来存放每份传真。 我也将传真本身存储在一个 blob 中。 易于复制和移动,不会对性能造成太大影响。 我保留另一个表来存储传入号码配置文件的列表(如呼叫者 ID 表),以将号码与客户相关联。 我保留了一个路由规则表,如果电子邮件来自这里,请发送到这里。 最后但并非最不重要的一点是,如果您必须管理多个电话号码,您可以创建多个传入配置文件并将其归档。

一旦您将每份传真存储在数据库中,您就可以用它做很多事情,并按照您喜欢的方式对其进行归档/索引/数字存储。 CFDOCUMENT 将显示基于磁盘的 PDF。

我最终不得不为自定义路由选项编写类似的东西。 如果您也喜欢使用 CF,可以将项目自动链接到某些文件/文件夹/项目。

如果您需要了解其他信息,请询问,或者如果您需要保密某些细节,我们可以离线讨论。

From the sounds of it, I have built something identical to this faxing setup with Coldfusion.

After a few trials and errors I found best way to go is:

1) DIGITIZE INCOMING FAXES: Have all faxes either sent to an email address you can check via CF, or a network folder you save them on, which you can check with CF. You can absolutely keep your fax number and simply call forward incoming calls to your digital fax number.

2) PROCESS INCOMING FAXES When you find a new fax, it is best to process it and make a record of it. I store things like the file name, dig up the fax number it came from, check it against a list of known numbers, and have a routing table (in case it needs to go to someone).

3) PRINT AND ROUTE FAX Auto printing a document once in CF is possible via CF as well.

As for tables, I keep one to store each fax. I store the fax itself in a blob as well. Easy to replicate and move around, no big performance hit. I keep another table to store a list of incoming number profiles (like a caller ID table) to relate the number to a customer. I keep a table for routing rules, if an email comes from here, send it here. Last, but not least, if you have to manage multiple phone numbers, you can create multiple incoming profiles and file them.

Once you have each fax stored in the DB, you can do a lot with it and file/index/ store it digitally how you like. CFDOCUMENT will display disk based PDFs.

I ended up having to program something like this for custom routing options. It is possible to auto link items to certain files/folders/projects if you like as well with CF.

If you need to know anything else, ask, or we can discuss it off line if you need to keep some details private.

暮凉 2024-07-30 21:56:05

同意亚当的观点。 不要给自己制造一堆问题 - 只需使用现有的服务即可节省大量金钱和精力。
关于主题:我使用 Popfax 并且我有点喜欢它。 它很舒服,给你机会、折扣、竞赛和很多你感兴趣的东西。它很便宜(至少比你自己的软件便宜 100%),而且你不仅可以在 PC 上使用它,也可以通过手机

Agree with Adam. Don't create a bunch of problems for yourself - you'll save a lot of money and nerves by just using the existing service.
On the topic: I use Popfax and I kind of like it. It's comfy, gives you opportunities, discounts, contests and a lot of stuff you'd like if you'd be interested in. It's cheap (at least, 100% cheaper than your own software) and you can use it not only on PC, but also via mobile phone

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文