Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Indy Subject line not shown.
| Subject: | Indy Subject line not shown. |
| Posted by: | "Randall Sell" (randall@bytewise.nospam.com.au) |
| Date: | Wed, 9 Aug 2006 21:07:05 |
Hello all,
I'm have the strangest problem... I was playing with the SendMail demo app
that is part of Indy 10.0.52 and I noted that my emails didn't have a
subject line. In fact, the content of the emails is also entirely wrong.
They message that is sent, when received looks like:
----
RCPT TO:<randall@bytewise.nospam.com.au>
DATA
DATA
From: "this@that.com.au" <this@that.com.au>
Subject: this is my subject
To: this@that.com
Content-Type: text/plain; charset=us-ascii; format=flowed
MIME-Version: 1.0
Date: Wed, 9 Aug 2006 00:06:32 +1000
the body of my email.
----
And it does not contain a subject - it is blank.
So I then tested on XP - worked OK. then on Win98 - worked OK. So went to
my other PC running Win2k - it failed. OK, so I'm thinking that Indy 10.x
and Win2k don't work together well. I asked a friend to try on his Win2k
system - and it worked OK. - huh?!?!
I am a bit stumped and not exactly sure what to try. Initially I thought
that maybe the problem came from my mail server, but that was ruled out
since all 4 of my PCs use the same provider.
Obviously it would appear that something in my Win2k (all service patches
and hot fixes) is messed up. I should mention that I do not run Outlook (or
Express) in fact I think I uninstalled them. I use Netscape - and it
creates emails no problem, so obviously it can be done. This made me
originally rule out the OS, but now I am not so sure.
Not knowing anything about the various message and SMTP standards that the
Indy components are wrappers for - I am at a loss as to where to start
debugging this.
I'm really hoping that someone will read this and tell me how stupid I am
for overlooking something obvious. If not, my next best thing is to go back
to Indy 9 and see what happens.
BTW- I am fairly sure this all worked fine with the Indy that shipped with
Delphi7.
Can anyone tell me what DLLs and/or COM objects the TIdSMTP and TIdMessage
components may be trying to interface with?
regards,
-randall sell