Article View: borland.public.cppbuilder.internet.socket
Article #5664Re: Indy relaying and CC, BCC fields
From: Remy Lebeau (TeamB)
Date: Fri, 02 Jul 2004 18:07
Date: Fri, 02 Jul 2004 18:07
24 lines
1941 bytes
1941 bytes
"Stefano Bonifazi" <stefboombastic@libero.it> wrote in message news:40e52303@newsgroups.borland.com... > is there a way to send a copy of my email to a single user (by > using the relaying system) at a time but with the full header without > Indy SMTP parsing the CC and BCC headers and so clashing > against the SMTP server? TIdSMTP does not support that. It always uses the full message headers when telling the SMTP server what to do. Thus any CC and BCC entries will be processed. For what you are asking, you will just have to implement the SMTP protocol manually. Then you have full control over what is transmitted to the server. > Or should I need to build a raw email by myself and send it > by connecting to the SMTP server (given by the DNS server) > through a brutal TCP connection?? Yes, and the discussion I directed you to earlier had an example of exactly that. Please look at the RelayMessage() function in my example code. Gambit
Technical Details
Message-ID:
<40e5a451$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40e47e0f@newsgroups.borland.com> <40e4a7c0$1@newsgroups.borland.com> <40e52303@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,48782d607b4fb37f X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <40e47e0f@newsgroups.borland.com> <40e4a7c0$1@newsgroups.borland.com> <40e52303@newsgroups.borland.com> Subject: Re: Indy relaying and CC, BCC fields Date: Fri, 2 Jul 2004 11:07:26 -0700 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.10 Message-ID: <40e5a451$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1088791633 68.69.17.10 (2 Jul 2004 11:07:13 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail