Forums

Form as an Attachment

hparsons 03 Jun, 2008
We are using ChronoForms to send a fax from our faxserver. The faxserver will send a fax to <number>@fax.ourdomain.com . So we have ChronoForms send gather a bunch of information (including the fax number), and email it to <number>@fax.ourdomain.com

The problem is that the fax server treats the body of the email as the cover page, and any attachments (PDF, MS Word, HTML, etc) as the faxed document. The issue is further compounded by the fact that the system limits the size of the cover page.

So, the form we created is too large to be the cover page, and the incoming fax fails. However, if we could make the system treat the form we fill out is an attachment (it can use .html as the extension of the attachment), then the system would work properly.

What I'd like is the body of the message to be something like "This is a request from xxx", and the form that is filled out to be the attachment - request.html

Any suggestions?
GreyHead 04 Jun, 2008
Hi hparsons,

I'm sure that this is possible, but not clear how to do it. The content of the email is in a variable called (from memory) $html_message at the time the OnSubmit code is processed. You could process this in whatever way is necessary to make it into a valid attachment (save it to a temporary file maybe).

Bob
hparsons 04 Jun, 2008
Actually, the faxserver vendor had me change some settings so body doesn't come through as the cover page. I appreciate the response though.
GreyHead 04 Jun, 2008
Hi hparsons,

Great, gald that you have it working.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger