HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Faxing mime e-mails
Can anyone recommend a solution to fax html-encoded mime e-mails with
images?
My website can produce html-formatted e-mail invoices that include the
company logo and possibly some other graphical elements. HylaFax machine is
configured to receive these e-mails and for now just dumps them into a
temporary file. When I then manually submitted a test e-mail through faxmail
I ended up with a fax containing listing of the html commands instead of
what one would see in mime-capable mail client.
For me the best solution would be to be able to send the same mime e-mail
message to either an e-mail address or my fax server.
Running HylaFax 4.1.7 under YellowDog Linux 3.0
I haven't noticed any restriction against posting html code, so I'll include
a sample of what I'm trying to fax. My test e-mail looks like this (parts
snipped out for brevity)
X-Mailer: PHP/4.3.2
MIME-Version: 1.0
Content-Type: multipart/related; type="multipart/alternative"; boundary="031215102212=_b1"
This message is encoded in MIME format. A MIME-capable
e-mail program is required to view this message.
--031215102212=_b1
Content-Type: multipart/alternative; boundary="031215102212=_b2"
--031215102212=_b2
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
<body><table><tr><td bgcolor=aa0000>Here's my body</td><td
bgcolor=00aaaa>Picture<br><img src='cid:031215102212_logo' alt=logo><br>is
here</td></tr><tr><td colspan=2 align=center><img
src="cid:031215102212image.jpg" alt=another pic></td></tr><tr><td
bgcolor=aa00aa>Here's another copy</td><td bgcolor=00aa00>of the same
pic<br><img src=cid:031215102212_logo alt=logo
again></td></tr></table></body>
--031215102212=_b2--
--031215102212=_b1
Content-Type: IMAGE/gif; name="bwlogo.gif"
Content-Transfer-Encoding: BASE64
Content-ID: <031215102212_logo>
Content-Disposition: inline
R0lGODlhGQFOAMQfAEBAQM/Pz39/f25ubp6envPz80pKSmJiYra2ttvb2+/v71ZWVufn55+fnxAQ
--031215102212=_b1
Content-Type: IMAGE/jpeg; name="pic.jpg"
Content-Transfer-Encoding: BASE64
Content-ID: <031215102212image.jpg>
Content-Disposition: inline
6m47jNup13nt+p6adCczaHR//9k=
--031215102212=_b1--
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxxxxx*