
akyel.zafer at gmail
Feb 23, 2012, 8:37 AM
Post #9 of 15
(528 views)
Permalink
|
Thank you very much for your answers. I will try and notify you. Thank you. 2012/2/23 Bowie Bailey <Bowie_Bailey [at] buc>: > On 2/23/2012 11:22 AM, zafer akyel wrote: >> Thank you for your answer but it is an HTML email. That is the content of HTML >> I am appending >> >> message.append("From: " + this._from + "\n"); >> message.append("To: " + this._to + "\n"); >> message.append("Date: " + formatter.format(d) + "\n"); >> message.append("Subject:" + this._subject + "\n"); >> message.append("\n\n"); >> message.append(this._body + "\n"); >> >> It is working good when no doc type declared but i need to add doc type. >> >> Thank you. > > Then you should have put that in the pastebin. In order to diagnose the > problem, we need to see exactly what is being sent to SA. > > I took the html from the pastebin, added From, To, Date, and Subject > headers, and ran it through SA. > > X-Spam-Status: No, score=0.1 required=5.0 tests=MISSING_MID,NO_RECEIVED, > NO_RELAYS,TVD_SPACE_RATIO autolearn=no version=3.3.2 > X-Spam-Report: > * -0.0 NO_RELAYS Informational: message was not relayed via SMTP > * 0.1 MISSING_MID Missing Message-Id: header > * -0.0 NO_RECEIVED Informational: message has no Received headers > * 0.0 TVD_SPACE_RATIO TVD_SPACE_RATIO > > Then I removed the doctype line and tried again. > > X-Spam-Status: No, score=0.1 required=5.0 tests=MISSING_MID,NO_RECEIVED, > NO_RELAYS,TVD_SPACE_RATIO autolearn=no version=3.3.2 > X-Spam-Report: > * -0.0 NO_RELAYS Informational: message was not relayed via SMTP > * 0.1 MISSING_MID Missing Message-Id: header > * -0.0 NO_RECEIVED Informational: message has no Received headers > * 0.0 TVD_SPACE_RATIO TVD_SPACE_RATIO > > You must be doing something different. Try dumping to a file EXACTLY > what is being sent to SA from your program in each case. Then you can > see if there are any other differences and test manually to see if there > is something your program may be doing to influence the results. > > If you can't find anything, save the results both with and without the > doctype line and put them in a pastebin (with the SA headers) so we can > see what is happening. > > -- > Bowie > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > -- Zafer AKYEL
|