Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Feb : Indy 10 reply problem
| Subject: | Indy 10 reply problem |
| Posted by: | "Alessandro Pugno" (pug..@consulinformatica.it) |
| Date: | Fri, 29 Feb 2008 18:13:47 |
Hi,
I have a program that send - reply a mail with this code
---cut---
IdPOP3.Retrieve(msg, IdMessage1);
IdMessage1.Recipients.EMailAddresses:='pugno@consulinformatica.it';
idMessage1.From.address := smtp_user;
if not idsmtp.connected then
idsmtp.Connect;
try
IdSMTP.Send(idmessage1);
...cut....
that works perfectly, but with Indy 10 the mail that re-send is quite
different from the one I had receved.
(with indy 9 no)
The problem is that almost all my clients's antivirus detect it as a spam or
similar
because has a "Multiple Content-Type header"
The same antivirus doesn't detect the original mail as spam.
I try to do something like change the encoding mode but I don't have the
knowledgement... i try randomly.
One of the difference is that this line
--514602106-554602408-1204298516=:26021
is present only in the original mail
I put the text of both mail below
TIA
Original mail:
----
Return-Path: <>
Delivered-To: 50-pugno@consulinformatica.it
Received: (qmail 31698 invoked by uid 110); 29 Feb 2008 16:22:32 +0100
Delivered-To: 50-info@consulinformatica.it
Received: (qmail 31695 invoked by uid 110); 29 Feb 2008 16:22:32 +0100
Delivered-To: 50-consul@consulinformatica.it
Received: (qmail 31691 invoked from network); 29 Feb 2008 16:22:32 +0100
Received: from host233-183-static.205-80-b.business.telecomitalia.it (HELO
mail.postel.com) (80.205.183.233)
by bit4web.net with SMTP; 29 Feb 2008 16:22:32 +0100
Received: from localhost (localhost.localdomain [127.0.0.1])
by mail.postel.com (Postfix) with ESMTP id C39B53EE85D;
Fri, 29 Feb 2008 16:22:01 +0100 (CET)
X-Virus-Scanned: amavisd-new at postel.com
Received: from mail.postel.com ([127.0.0.1])
by localhost (avcluster01.postel.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id cg7fXj2ZKNaL; Fri, 29 Feb 2008 16:21:57 +0100 (CET)
Received: from udhrmas2 (udhrmas2 [172.30.122.52])
by mail.postel.com (Postfix) with ESMTP id 9D1363EE09C
for <consul@consulinformatica.it>; Fri, 29 Feb 2008 16:21:57 +0100 (CET)
From: centro.gestione@postel.com
Subject: Ricevuta Lotto @ completato - D0805608
To: consul@consulinformatica.it
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; CHARSET=iso-8859-1;
BOUNDARY="514602106-554602408-1204298516=:26021"
Content-Language: it_IT
Content-Disposition: INLINE
Message-Id: <20080229152157.9D1363EE09C@mail.postel.com>
Date: Fri, 29 Feb 2008 16:21:57 +0100 (CET)
X-Antivirus: avast! (VPS 080228-0, 28/02/2008), Inbound message
X-Antivirus-Status: Clean
--514602106-554602408-1204298516=:26021
Content-Type: TEXT/plain; CHARSET=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Language: it_IT
Content-Disposition: INLINE
Data: <28/2/2008 23:54:45 >=0A=09=09=09=0A=0A =
AVVISO D'AVVENUTA LAVORAZIONE=0A=0A Le fasi di elaborazione e sta=
mpa del lotto sottoelencato hanno=0A avuto esito: ** POSITIVO **=0A=
=0A NOME LOTTO DATA LOTTO ID UNIVOCO TIPO=
=0A ----------------------------------------------------------------=
=0A ##D0805608 25 Feb 2008 10:00 RW1800049C2001 S=0A=
=0A Indirizzi lavorati 212 su 212 .=0A=0A=0A=0A =
Distinti Saluti=0A =
Centro Gestione Roma
--514602106-554602408-1204298516=:26021--
----------------------------------------
Mail re-sent:
--
Return-Path: <consul@consulinformatica.it>
Delivered-To: 50-pugno@consulinformatica.it
Received: (qmail 30170 invoked from network); 29 Feb 2008 16:17:20 +0100
Received: from mta008e.interbusiness.it (88.44.62.8)
by 81-31-149-24.vm.dnshosting.it with SMTP; 29 Feb 2008 16:17:20 +0100
Received: from host218-173-static.40-85-b.business.telecomitalia.it (HELO
server-hp) ([85.40.173.218])
by MTA008E.interbusiness.it with ESMTP; 29 Feb 2008 16:16:42 +0100
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlE4AFWwx0dVKK3aWmdsb2JhbACBVkCNPIEUASBynAs
Return-Path: <>
Delivered-To: 50-consul@consulinformatica.it
Received: (qmail 28174 invoked from network); 29 Feb 2008 16:10:58 +0100
Received: from host235-183-static.205-80-b.business.telecomitalia.it (HELO
mail.postel.com) (80.205.183.235)
by 81-31-149-24.vm.dnshosting.it with SMTP; 29 Feb 2008 16:10:58 +0100
Received: from localhost (localhost.localdomain [127.0.0.1])
by mail.postel.com (Postfix) with ESMTP id D1111639CF
for <consul@consulinformatica.it>; Fri, 29 Feb 2008 16:10:25 +0100 (CET)
X-Virus-Scanned: amavisd-new at postel.com
Received: from mail.postel.com ([127.0.0.1])
by localhost (avcluster02.postel.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id c-Zve2jApVf5 for <consul@consulinformatica.it>;
Fri, 29 Feb 2008 16:10:22 +0100 (CET)
Received: from udhrmas2 (udhrmas2 [172.30.122.52])
by mail.postel.com (Postfix) with ESMTP id 88E78639CD
for <consul@consulinformatica.it>; Fri, 29 Feb 2008 16:10:21 +0100 (CET)
From: "consul@consulinformatica.it" <consul@consulinformatica.it>
Subject: Ricevuta Lotto @ completato - D0805606
To: pugno@consulinformatica.it
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; CHARSET=iso-8859-1;
BOUNDARY="514602106-592962932-1204297822=:26021"
Content-Language: it_IT
Content-Disposition: INLINE
Message-Id: <20080229151021.88E78639CD@mail.postel.com>
Date: Fri, 29 Feb 2008 16:10:21 +0000
In-Reply-To: <20080229151021.88E78639CD@mail.postel.com>
Content-Type: TEXT/plain ; charset="iso-8859-1"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Language=it_IT
Content-Disposition=INLINE
X-Antivirus: avast! (VPS 080228-0, 28/02/2008), Inbound message
X-Antivirus-Status: Clean
Data: <28/2/2008 23:49:00 >
=09
AVVISO D'AVVENUTA LAVORAZIONE
Le fasi di elaborazione e stampa del lotto sottoelencato hanno
avuto esito: ** POSITIVO **
NOME LOTTO DATA LOTTO ID UNIVOCO TIPO
----------------------------------------------------------------
##D0805606 25 Feb 2008 09:58 RW1800049BF001 S
Indirizzi lavorati 116 su 116 .
Distinti Saluti
Centro Gestion