Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update TIdSMTP and TIdSMTPRelay to support sending a TStream instead of a TIdMessage #539

Open
rlebeau opened this issue Jul 23, 2024 · 0 comments
Labels
Element: SMTP Issues related to TIdSMTP and TIdSMTPServer Status: Reported Issue has been reported for review Type: Enhancement Issue is proposing a new feature/enhancement

Comments

@rlebeau
Copy link
Member

rlebeau commented Jul 23, 2024

The TIdSMTPServer.OnMsgReceive event provides a client's raw email data in a TStream (with Received: header added to it). For relaying purposes, it would be useful to be able to send this TStream as-is to the next SMTP server, instead of having to parse the TStream into a TIdMessage first just to re-generate it. This can potentially alter/damage the original email.

@rlebeau rlebeau added Type: Enhancement Issue is proposing a new feature/enhancement Element: SMTP Issues related to TIdSMTP and TIdSMTPServer Status: Reported Issue has been reported for review labels Jul 23, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Element: SMTP Issues related to TIdSMTP and TIdSMTPServer Status: Reported Issue has been reported for review Type: Enhancement Issue is proposing a new feature/enhancement
Projects
None yet
Development

No branches or pull requests

1 participant