Update TIdSMTP and TIdSMTPRelay to support sending a TStream instead of a TIdMessage #539
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
The
TIdSMTPServer.OnMsgReceive
event provides a client's raw email data in aTStream
(withReceived:
header added to it). For relaying purposes, it would be useful to be able to send thisTStream
as-is to the next SMTP server, instead of having to parse theTStream
into aTIdMessage
first just to re-generate it. This can potentially alter/damage the original email.The text was updated successfully, but these errors were encountered: