Author |
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 16 May 2012 at 7:40am | IP Logged
|
|
|
Hi,
I usually use Thunderbird and I like the option "put replies in original folder". Using this, it is possible to get a "mail thread" in the inbox. All my answers are not placed in "sent" but in the inbox and Thunderbird shows them in an indent style like a news thread.
To achieve the same using my mobile phone, I use the option "always send to BCC address" and I use my own address here in order to receive all my own mails again.
Is there a way to configure WebMail Lite to provide something like this ("always send to BCC address")?
Thanks
Konrad
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 May 2012 at 4:10am | IP Logged
|
|
|
Yes, there is a plugin for that. You'll need to extract the file so that it's located at data/plugins/hidden-bcc/index.php.
To enable the plugin, add the following lines to the array defined in data/settings/config.php file:
Code:
'plugins.hidden-bcc' => true,
'plugins.hidden-bcc.option.emails-to-add' => 'email@address.bcc' |
|
|
The 2nd line defines email address used as BCC for all the outgoing mails. It is added on sending so it's never reflected in webmail interface.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 17 May 2012 at 11:56pm | IP Logged
|
|
|
If I understand correctly, this is then added for ALL outgoing mails for all users. I need a way to configure it per user and for all users who want this functionality, it has to be a different bcc address of course.
Is that possible?
And: I'm using the asp.net version, so I'm not sure if I can use the above mentioned php file...
Thanks
Konrad
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 May 2012 at 6:09am | IP Logged
|
|
|
Since never stated otherwise, we assume this is about PHP version, and there's no easy way to add that behavior in ASP.NET version, unless you modify SendMail routine in App_Code/Smtp.cs file.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 29 May 2012 at 3:22am | IP Logged
|
|
|
Igor wrote:
Since never stated otherwise, we assume this is about PHP version, and there's no easy way to add that behavior in ASP.NET version, unless you modify SendMail routine in App_Code/Smtp.cs file.
|
|
|
Sorry about that: I use the ASP.NET version.
I will try to see if I can modify the SendMail routine to fullfill my needs!
Thanks for your support
Konrad
|
Back to Top |
|
|
konmax Newbie
Joined: 29 November 2010
Online Status: Offline Posts: 31
|
Posted: 02 June 2012 at 6:22am | IP Logged
|
|
|
Igor wrote:
Since never stated otherwise, we assume this is about PHP version, and there's no easy way to add that behavior in ASP.NET version, unless you modify SendMail routine in App_Code/Smtp.cs file.
|
|
|
Just did a test with a hard coded mail address. Works like a charm ;-).
Here the code if someone else is interested:
if (message.MailBeeMessage.From.ToString().ToLower().Contains("<myAdress>")) {
if (message.MailBeeMessage.Subject.ToString().ToLower().StartsWith("aw:")) {
message.MailBeeMessage.Bcc.Add(message.MailBeeMessage.From);
}
}
The code also checks if the subject starts with "AW:" because I need this feature only for replies...
Best
Konrad
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 02 June 2012 at 1:26pm | IP Logged
|
|
|
Thanks for sharing! I'm sure this will be of great use to other users of ASP.NET version.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|