[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 - Forward to SpamCop2

Forward to SpamCop2

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Forward to SpamCop2

Postby Roy » Mon Jan 12, 2009 1:02 am

Hi, I have had to try out the Script "Forward to SpamCop2", which I think works well. However, can anybody suggest how the Header Field "Subject" can be automatically filled with a statement such as "Reporting unsolicited offensive email" as part of the above script?

Regards Roy
Roy
Drop-in Visitor
 
Posts: 5
Joined: Tue Jul 27, 2004 6:56 am

Postby Tomas » Mon Jan 12, 2009 2:38 am

Hi Roy, this shall work:

after
AddHeader %Out "To:" $To
line, insert the following line:

Code: Select all
AddHeader %Out "Subject:" "Reporting unsolicited offensive email"
Tomas
Tomas
Pillar of the Community
 
Posts: 1418
Joined: Sun Jul 25, 2004 1:34 am

Forward to Spamcop2

Postby Roy » Wed Jan 14, 2009 5:00 am

Many thanks Tomas. Your Modification works Fine.
Regards Roy
Roy
Drop-in Visitor
 
Posts: 5
Joined: Tue Jul 27, 2004 6:56 am


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron