Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Send all Mails to bcc mail account Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 16 May 2012 at 7:40am | IP Logged Quote konmax

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 View konmax's Profile Search for other posts by konmax
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 May 2012 at 4:10am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 17 May 2012 at 11:56pm | IP Logged Quote konmax

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 View konmax's Profile Search for other posts by konmax
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 23 May 2012 at 6:09am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 29 May 2012 at 3:22am | IP Logged Quote konmax

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 View konmax's Profile Search for other posts by konmax
 
konmax
Newbie
Newbie


Joined: 29 November 2010
Online Status: Offline
Posts: 31
Posted: 02 June 2012 at 6:22am | IP Logged Quote konmax

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 View konmax's Profile Search for other posts by konmax
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 02 June 2012 at 1:26pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide