[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - Outgoing Filter 'Change Account To' - Doesn't appear to :-(

Outgoing Filter 'Change Account To' - Doesn't appear to :-(

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Outgoing Filter 'Change Account To' - Doesn't appear to :-(

Postby logrunner » Sat Jan 13, 2007 7:52 pm

I am using Barca Pro 2.1.0.3650 and I have set an outgoing filter to look for specific text in the header 'To' field and then if found 'Change Account to' one of my accounts and then perform a 'Dialog box with text'.

When I test the filter the account isn't changed on the outgoing email but the message is displayed which proves that the filter is being invoked.

Is this a bug in the filter processing or am I missing something. Is there another way that this can be done :?:
Last edited by logrunner on Sun Jan 14, 2007 4:00 am, edited 1 time in total.
logrunner
Drop-in Visitor
 
Posts: 10
Joined: Mon Aug 16, 2004 9:36 am
Location: UK

Postby Tomas » Sun Jan 14, 2007 3:01 am

It changes the account (ie. changes X-Account header and uses the smtp and filtering defaults of the account to which the change was made), but leaves the original sender's email in the From header field.
Tomas
Tomas
Pillar of the Community
 
Posts: 1418
Joined: Sun Jul 25, 2004 1:34 am

Postby logrunner » Sun Jan 14, 2007 4:03 am

Thanks for clarifying this - so it's not a bug then :wink:
So, is there anyway of changing the 'From' header then :?:
logrunner
Drop-in Visitor
 
Posts: 10
Joined: Mon Aug 16, 2004 9:36 am
Location: UK

Postby Tomas » Sun Jan 14, 2007 5:02 am

I'm not sure whether it's intended. I would guess it is.

For changing From header, try:
- either the Remove header and Add header actions in filtering
- script that would change the header
Tomas
Tomas
Pillar of the Community
 
Posts: 1418
Joined: Sun Jul 25, 2004 1:34 am


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 0 guests

cron