Now, with this code, using the spam below the code, it generates a
different error.
Now it says "Microsoft Entourage got an error: Parameter Error".
I've used it on several pieces of spam, and this piece is the only one
that generates this error.
The only thing I can think of is that it uses a different character
set, although it works on Chinese spam just fine.
***********
property spamAddr : "(e-mail address removed)"
set tempFolderPath to ("Big
Phantom:Users:lyleharwood
ocuments:Microsoft User Data:Entourage
Temp:")
tell application "Microsoft Entourage"
set currentMessages to the current messages
set src to "I have some spam to report." & return & return & "Thank
you."
set theFiles to {}
repeat with i from 1 to (count currentMessages)
set theMessage to item i of currentMessages
set theSubject to subject of theMessage
set AppleScript's text item delimiters to {":"}
set wordList to text items of theSubject
set AppleScript's text item delimiters to {"-"}
set theSubject to wordList as Unicode text
save theMessage in (tempFolderPath & theSubject) -- just the path
tell me to set theFile to alias (tempFolderPath & theSubject)
--actual file
set end of theFiles to theFile
end repeat
set AppleScript's text item delimiters to {""}
make new outgoing message at out box folder with properties ¬
{content:src, subject:"Spam report", recipient:spamAddr,
attachment:theFiles}
end tell
***********
The spam causing the problem:
***********
Return-Path: <
[email protected]>
Delivered-To: (e-mail address removed)
Received: (qmail 12795 invoked from network); 4 Oct 2003 08:52:15 -0000
Received: from exprod5mx23.postini.com (HELO psmtp.com) (12.158.34.138)
by smtp2.sea.theriver.com with SMTP; 4 Oct 2003 08:52:15 -0000
Received: from source ([216.39.128.17]) by exprod5mx23.postini.com
([12.158.34.245]) with SMTP;
Sat, 04 Oct 2003 03:52:16 CDT
Received: (qmail 9751 invoked from network); 4 Oct 2003 08:51:31 -0000
Received: from alb-24-195-205-252.nycap.rr.com (24.195.205.252)
by smtp2.sea.theriver.com with SMTP; 4 Oct 2003 08:51:31 -0000
Received: from hypercope.de [49.97.236.146] by
alb-24-195-205-252.nycap.rr.com (Postfix) with ESMTP id 6885C49CEAFD
for <
[email protected]>; Sat, 04 Oct 2003 20:55:24 +0000
Date: Sat, 04 Oct 2003 20:55:24 +0000
From: (e-mail address removed)
Subject: ²ÌËÍýθÌÓ ӓ•ýÌË—ÂÌÌÓ ԕ”ÎÓÊÂÌË ÓÚ”ÓžÌÛÚ¸ ’ »ÒÔýÌËË ”Î
—ýÒÚÌšž ÎË– Ë ÚÛ•ÙË•Ï!
To: Jammer <
[email protected]>
References: <
[email protected]>
In-Reply-To: <
[email protected]>
Message-ID: <
[email protected]>
MIME-Version: 1.0
Content-Type: text/html; charset=Windows-1251
Content-Transfer-Encoding: 8bit
X-pstn-levels: (S:13.4085 R:95.9108 P:95.9108 M:99.5542 C:78.1961 )
X-pstn-settings: 5 (2.0000:8.0000) r p m C
X-pstn-addresses: from <
[email protected]>
[1234/54]
ìÌËÍýθÌÓ ӓ•ýÌË—ÂÌÌÓ ԕ”ÎÓÊÂÌË ÓÚ”ÓžÌÛÚ¸ ’ àÒÔýÌËË ”Îþ —ýÒÚÌšž ÎË–
Ë ÚÛ•ÙË•Ï!
ÓÒÚ•Ó’ íÖçÖêàîÖ
ëÔ–ËýÎ¸ÌšÈ ’šÎÂÚ 1 ÌÓþ·•þ Ìý 10 ”ÌÂÈ/9 ÌÓ—ÂÈ
èÖêÖãÖí èêüåõå êÖâëéå ý/Í «LTE» çÄ ëÄåéãÖíÖ BOEING-757 ËÁ ÄùêéèéêíÄ
òÖêÖåÖíúÖÇé
íÛ”ý 01.11. 2003 “Ó”ý
åÓÒÍ’ý - 14:00
íÂÌ•ËÙÂ18:00
LTE 405
é·•ýÚÌÓ 10.11.2003 “Ó”ý
íÂÌ•ËÙÂ09:00-
åÓÒÍ’ý18:25
LTE 404
èãÄâü ÑÖ ãÄë ÄåÖêàäÄë (œ“ ÓÒÚ•Ó’ý)
ÉÓÒÚËÌË–ý
ÍýÚ“ӕËþ
ÔËÚýÌËÂ
ÒÚÓËÏÓÒÚ¸
ORO NEGRO
***
HB
1096
FB
1150
FAÑABE COSTA SUR
****
HB
1167
FB
1229
ESMERALDA PLAYA
****
HB
1178
FB
1270
TROYA
****
HB
1193
TENERIFE PRINCESS
****
HB
1208
FB
1270
LAS PALMARAS
****
HB
1219
FB
1343
SOL TENERIFE
****
HB
1224
GRAN TENERIFE
****
HB
1255
FB
1379
CONQSTADOR
****
HB
1265
FB
1389
COSTA ADEJE PALAS
****
HB
1306
FB
1430
MELIA JARDENES DEL TEIDE
****
AL
1456
JARDIN TROPICAL
****
BB
1590
HB
1776
FB
1869
BAHIA PRINCIPE COSTA ADEJE
****SUP
AL
1415
MEDITERRANEAN PALACE
*****
BB
1302
HB
1426
FB
1550
COSTA ADEJE GRAN HOTEL
*****
BB
1210
HB
1323
FB
1437
MARE NOSTRUM
*****
BB
1395
HB
1632
FB
1849
JARDINES DE NIVARIA
*****
BB
1643
HB
1901
FB
2005
SIR ANTHONY
*****
BB
1746
HB
2066
FB
2344
BAHIA DEL DUQUE
*****GL
BB
2283
HB
2522
èìùêíé ÑÖ ãÄ äêìë (Ò’• ÓÒÚ•Ó’ý)
ACUARIO
**
HB
898
FB
918
TROVADOR EDEN
***
BB
985
HB
1048
NOELIA PLAYA
AP***
BB
991
HB
1022
FB
1053
PUERTO PALACE
****
HB
1064
FB
1126
FLORIDA
****
HB
1105
FB
1157
LAS VEGAS
****
HB
1136
FB
1189
TENERIFE PLAYA
****
HB
1172
FB
1296
SEMIRAMIS
*****
BB
1220
HB
1302
FB
1406
PUNTA DEL REY
****
HB
987
FB
1038
AL
1100
BB Áý’Ú•ýÍ; HB‹ÔÓÎÛÔýÌÒËÓÌ; FÇ‹ÔÓÎÌšÈ ÔýÌÒËÓÌ; AL‹«’Ò ’ÍÎœ—ÂÌÓ»
ëÍË”ÍË 3-ÏÛ ’ ÌÓÏ•Â:
ÑÂÚË ÓÚ 2”Ó 8 ÎÂÚ 50 %
ÑÂÚË ÓÚ 9”Ó 12 ÎÂÚ 25%
ÑÂÚþÏ ÓÚ 12 ÎÂÚ Ë ’Á•ÓÒÎÓÏÛ 10%.
ÇçàåÄçàÖ! éÙÓ•ÏÎÂÌË ’ËÁš ’ àÒÔýÌËœ ’ ÒÚÓËÏÓÒÚ¸ ÚÛ•ý Ì ’ÍÎœ—ÂÌý.
ÑÓÔÎýÚý Áý ’ËÁÛ 45 Â’•Ó Áý ÔýÒÔÓ•Ú.
ñÂÌš ÛÍýÁýÌš ’ ÖÇêé Ìý 1 —ÂÎ. Ô•Ë •ýÁϘÂÌËË ’ ÒÚýÌ”ý•ÚÌÓÏ ”’ÛžÏÂÒÚÌÓÏ
ÌÓÏÂ•Â Ë ’ÍÎœ—ýœÚ ’ Ò·þ:
-- ý’ËýÔ•ÂÎÂÚ ÚÛ”ý Ë Ó·•ýÚÌÓ;
-- •ýÁϘÂÌË ’ “ÓÒÚËÌË–Â Ò ’š·•ýÌÌšÏ •ÂÊËÏÓÏ ÔËÚýÌËþ;
-- ÒÚ•ýžÓ’ÍÛ Ìý ’•ÂÏþ ԕ·š’ýÌËþ ’ àÒÔýÌËË;
-- Ú•ýÌÒÙÂ•Ú ý›•ÓÔÓ•Ú-“ÓÒÚËÌË–ý- ý›•ÓÔÓ•Ú;
-- ÛÒÎÛ“Ë •ÛÒÒÍÓ“Ó’Ó•þ˜Â“Ó “Ë”ý.
íýÍ Ê ÏÓÊÂÏ Ô•Â”ÎÓÊËÚ¸ ÒΔۜ˜Ë ÌýÔ•ý’ÎÂÌËþ:
àÒÔýÌËþ É•ýÌ äýÌý•Ëþ, ãýÌÒý•ÓÚÂ, îÛ›•ÚÂ’ÂÌÚÛ•ý, åýÈÓ•Íý, à·Ë–ý,
åÂÌÓ•Íý, äÓÒÚý Å•ý’ý, äÓÒÚý ÑÓ•ý”ý, äÓÒÚý ÅÎýÌÍý, äÓÒÚý ”Âθ ëÓθ.
ÑÓÏËÌËÍýÌÒÍýþ •ÂÒÔÛ·ÎËÍý, åÂÍÒËÍý, äÛ·ý, ëòÄ, äýÌý”ý.
ÚÂÎ. (095) 925 5971
***********