Article View: borland.public.cppbuilder.internet.socket
Article #1073Re: Setting Return-path header value
From: Remy Lebeau (TeamB)
Date: Tue, 19 Jun 2007 19:18
Date: Tue, 19 Jun 2007 19:18
21 lines
1963 bytes
1963 bytes
"Glen Zimmerman" <glenz@worldimpact.org> wrote in message news:46781ede@newsgroups.borland.com... > Are there any suggestions on how to find out the proceedure > for having the errors sent to a different mailbox? All replies are sent to the "Return-path", which is controlled by the server, and is based on the sender specified in the MAIL FROM command. The only thing you can do client-side with Indy to control this is to specify the admin mailbox as the sender of the message. Which does not sound like what you really want to do, as that will effect the message that the recipients receive. So the only other way that I know of to get around this is to not use TIdSMTP at all, but to implement the SMTP protocol in your own code. Only then can you specify a different mailbox in the MAIL FROM command than the one that you provide within the message data in the DATA command. Read RFC 821 for more details on how the SMTP protocol works in general. Gambit
Technical Details
Message-ID:
<46782c27$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<467801a0@newsgroups.borland.com><46780bde$1@newsgroups.borland.com> <46781282@newsgroups.borland.com><46781927$1@newsgroups.borland.com> <46781ede@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,119256ed63f0236b X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.socket References: <467801a0@newsgroups.borland.com><46780bde$1@newsgroups.borland.com> <46781282@newsgroups.borland.com><46781927$1@newsgroups.borland.com> <46781ede@newsgroups.borland.com> Subject: Re: Setting Return-path header value Date: Tue, 19 Jun 2007 12:18:06 -0700 Lines: 23 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: 75.82.252.126 Message-ID: <46782c27$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1182280743 75.82.252.126 (19 Jun 2007 12:19:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail