Ik probeer een HTML mailtje zo goed mogelijk in elkaar te zetten zodat programma's Spamassasin zo weinig mogelijk punten aan het geheel geeft. Het gaat immers niet om spam! Nu heb ik wel zo dat het mailtje er doorheen komt, maar toch zie ik in de headers dat ik het mailtje kennelijk niet goed heb opgemaakt:
Zo verstuur ik de mail:
Maar inde headers van het ontvangen bericht zie ik het volgende:
Op zich netjes, -1.6, maar hij zegt wel MIME_HTML_ONLY en MPART_ALT_DIFF. Gezocht op internet en dit is wat ik vond:
[/code]
Zo verstuur ik de mail:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| User-Agent: Code Igniter Date: Fri, 18 May 2007 13:27:28 +0200 From: "I Care Producties" Return-Path: Reply-To: "info@*****.nl" X-Sender: info@*****.nl X-Mailer: Code Igniter X-Priority: 3 (Normal) Message-ID: <464d8da01cfdc@*****.nl> Mime-Version: 1.0 Content-Type: multipart/related; boundary="B_ATC_464d8da01cff0" This is a multi-part message in MIME format. Your email application may not support this format. --B_ATC_464d8da01cff0 Content-Type: multipart/alternative; boundary="B_ALT_464d8da01cfed" --B_ALT_464d8da01cfed Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit <hier de TEXT versie> --B_ALT_464d8da01cfed Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted/printable <hier de HTML versie> --B_ALT_464d8da01cfed-- --B_ATC_464d8da01cff0 Content-type: image/jpeg; name="card.jpg" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="card.jpg" Content-Id:<ba9b90c7dccc4892e1f69ea2cfbe8591.jpg> <hier een encoded jpeg> --B_ATC_464d8da01cff0-- |
Maar inde headers van het ontvangen bericht zie ik het volgende:
code:
1
2
3
4
| X-Spam-Status: No, hits=-1.6 tagged_above=-1001.0 required=5.0 tests=AWL,
BAYES_00, HTML_50_60, HTML_IMAGE_ONLY_20, HTML_MESSAGE,
MIME_HTML_ONLY, MPART_ALT_DIFF, TW_IJ, TW_JF
X-Spam-Level: |
Op zich netjes, -1.6, maar hij zegt wel MIME_HTML_ONLY en MPART_ALT_DIFF. Gezocht op internet en dit is wat ik vond:
Wat heb ik dan fout aan de opmaak van het bericht dat de spambellen toch een beetje gaan rinkelen, terwijl ik het juist goed probeer te doen?MIME_HTML_ONLY says that there are only text/html parts in the message
(ie: no non-text/* parts were found that weren't html...) MPART_ALT_DIFF
says there's a part that should have text/plain and text/html, but only
has text/html.
MIME_HTML_ONLY just looks at the MIME headers, MPART_ALT_DIFF uses the
rendered type.
In a quick 1 minute thought process about this, the only difference I
can really see is if a multipart/alternative message comes in with a
text/plain part that's really HTML, MPART_ALT_DIFF will catch it, but
MIME_HTML_ONLY won't.
[/code]