[EMAIL PROTECTED] wrote: > Has anyone an idea how a plug-in can find out if the mail it currently > handles is a incoming (local delivery) or outgoing (routed to the > world) mail? Right now, I solved this by setting a connection-note in > another plug-in that check if the remote IP is a relay client. But I > think it's a good idea to have a more generic solution for this within > another plugin.
As you can see from my plugin, I based the decision on whether the mail is sent by an authenticated user... -Johan -- Johan Almqvist Christies gate 34 A 0557 Oslo Norway Mobile: +47 40 04 68 21 E-mail: [EMAIL PROTECTED]