How to send windows attachment using senmail
Andrew Mathews
andrew_mathews
Mon May 17 11:47:48 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Swapana Ghosh wrote:
| Hi Andrew
|
|
|>I don't think sendmail
|>is even part of the issue here. I'll digress to
|>those more experienced
|>in this, but first we need to know what database >
|>you're using,
|
|
| I have sent the question here, in this mailing list
| because, the program i have written , it is only using
| *sendmail* and *perl*.
|
| I am using *mysql* as database....
|
| My exact requirement is - i am making one database
| where client's complaints etc i am storing. So
| sometimes client sends their problems like this...
|
| They copy the error messages from the log file and
| paste it to the screen... Now when this content(as a
| field of table) i am going to write in to the database
| it is giving errors.
Okay, but as you just said, your problem is when doing a copy/paste, and
trying to do an INSERT into MySQL. This is indicative of embedded
control characters that aren't visible, but MySQL sees them as a special
character. Sendmail isn't adding these, it passes what it's given. You
need to determine what embedded control characters are causing MySQL to
barf. Let me guess, they're copying from the screen on a Windows PC
using Outlook? If so, there will be embedded line feeds, carriage
returns, etc., that will never work until it's properly parsed to make
them compliant to everyone else's standards. Another case of MS changing
things so they break all cross compatibility.
| I am neither expert in perl nor
| expert in html ...but write programs according to the
| requirement *sometimes*....
You can't blame Sendmail for receiving non compliant html, mime, or any
other format. Garbage in, garbage out. It can't fix it for you, it's not
intended, nor designed to do that.
| So i need this type of contents to insert in the
| datablase.
|
| Thanks again...
| -Swapna
|
- --
Andrew Mathews
- ---------------------------------------------------------------------
~ 10:46am up 1 day, 13:29, 15 users, load average: 1.39, 1.37, 1.26
- ---------------------------------------------------------------------
What this country needs is a good five cent ANYTHING!
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org
iD8DBQE+0knmidHQ0m/kEssRAntSAKCD/14+h7GZYeiwxH85a1mVKTTacACfQ3T0
B3t/iRY3AKAg7kzLU7aSndQ=
=cSfr
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list