How Rewrite String Replace Body Text or Message Extension ?

readak

Registered
Apr 7, 2012
4
0
51
cPanel Access Level
Website Owner
Hi,

I want to put the papers in a message, auto censor. For example:

Generic Viagra is used to treat male Impotence also known as Erectile Dysfunction. Also, it has been approved by US FDA for treating pulmonary arterial hypertension.
I would like it to appear on the opposite side.

Generic [**FILTERED**] is used to treat male Impotence also known as Erectile Dysfunction. Also, it has been approved by US FDA for treating pulmonary arterial hypertension.
Mail go, but go censor mail. Most searched, everyone had blocking filter file. Just could not censor. How to mail censor ?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
In some countries, it might be illegal to replace words in client emails with different text, so you may want to check the laws where you reside. It would be far easier to use spam assassin for emails to check if they are spam and discard or route them into a spam box over trying to replace words in the email.

Also, are these incoming or outgoing emails?