Question

I use Indy10's TIDSMTPRelay to relay some messages out and it works great. However, I need a log of the actual SMTP conversation with the counterparty and the OnDirectSMTPStatus and OnStatus events do not provide this as far as I can see. How can I get to the SMTP log?

Était-ce utile?

La solution

I ended up using TIdLogEvent implementing the OnSent and OnReceived events.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top