Mailing List CGatePro@mail.stalker.com Message #106313
From: Nicolas Hatier <nicolas.hatier@niversoft.com>
Subject: Re: Save a copy of emails sent with .NET SMTP client
Date: Sat, 14 Jan 2017 10:22:40 -0500
To: CommuniGate Pro Discussions <CGatePro@mail.stalker.com>

Wow, I've been seriously outsmarted on this one. I forgot you were in absolute control of the message itself.

BCC to direct mailbox is the simplest solution if you have DMA enabled.

The other method would absolutely work but would require you to create several aliases if you have several senders.

Here's another idea, inspired from these ones:

- Have .NET SMTP set your Reply-To address in BCC as told before
- Have it add a header of your choice. Something like "X-KeepCopy: Yes" or anything you want
- In domain rules, add a single rule:
        Header is X-KeepCopy: Yes
        Source in Trusted,Authenticated
        Store In Sent Items
        Discard

Nicolas Hatier, ing. <nicolas.hatier@niversoft.com>
Niversoft idées logicielles - http://www.niversoft.com



On 2017-01-14 05:56, Technical Support wrote:
Hello.

On 2017-01-13 19:34, Robin Lewis wrote:
Im trying to save a copy of emails sent via .NET SMTP client in users
Sent folder, This feature seems missing from .NET SMTP client.

As Nicolas said already, SMTP has nothing to do with sender's mail folders.

But you should be able to add a special Bcc recipient to the message. That may be just an alias to the sender account in CGPro - then you can check in a server-wide rule if "Any Recipient IS special_alias@domain" and on a match "Store in ~sender@domain/Sent Items".
Or, if Direct mailbox addressing is enabled in the LOCAL module settings, that extra Bcc recipient address can be Sent#sender@domain - so a copy is delivered directly to the Sent folder of the "sender@domain" account and no rule is needed. (Folders with spaces and non-ASCII symbols in names are a problem here, but can be handled through Folder aliases.)

Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to Listmaster