This is what I get when using the $line variable and not the $file variable. I merely switched the two:
Content-Transfer-Encoding: binary
Content-Type: multipart/mixed; boundary="boundary-111916012012"
MIME-Version: 1.0
Date: 111916012012
From: sking@mortgage-pros.com
To: admin@mortgagerefinancingpros.com
Subject: New loan request in database (extra fields)
This is a multi-part message in MIME format.
--boundary-111916012012
Content-Disposition: inline
Content-Length: 271
Content-Transfer-Encoding: binary
Content-Type: text/plain
Dear Member,
Please find attached to this email message a loan application file
from a recent loan applicant. Be sure to save this DU 3.2 file to you
+r
hard drive and import the data into your loan processing program.
Regards,
Site Administration
Mortgage-pros.com
--boundary-111916012012
Content-Disposition: inline; filename="1033du.txt"
Content-Transfer-Encoding: base64
Content-Type: application/zip; name="1033du.txt"
MTAzM3x8fFNjb3R8c2tpbmdAbW9ydGdhZ2UtcHJvcy5jb218WWVzfFl8fHx8fDF8fDM2MH
+x8fHx8
fHx8fHx8fHx8fHx8fHx8fHx8fHxTY290fEN8S2luZ3x8fHx8fGFzZGZ8NTY1NDY1NDY1NH
+x8fDE2
NTQxMTIzfDV8fHx8fHx8fHx8fHx8MTIzIEFueSBTdHJlZXR8fEFueSBDaXR5fENBfDEyMz
+Q1fHx8
fFl8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8Z3x8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH
+x8fHx8
fHx8fHNhZGZ8fHx8fHx8fHx8fDU2NDU2NTU1fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH
+x8fHx8
fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH
+x8fHx8
fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fH
+x8fHx8
fHx8fHx8fHx8fHx8fHxZfFl8fHx8fHx8fHx8fHx8fHx8fHx8fHx8YXBwfHx8U3VibWl0IE
+FwcGxp
Y2F0aW9ufHw=
--boundary-111916012012--
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|