summaryrefslogtreecommitdiff
path: root/app/Helper
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/MailHelper.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/Helper/MailHelper.php b/app/Helper/MailHelper.php
index b42d83ab..cb16d6f8 100644
--- a/app/Helper/MailHelper.php
+++ b/app/Helper/MailHelper.php
@@ -40,8 +40,9 @@ class MailHelper extends Base
*/
public function filterSubject($subject)
{
- $subject = str_replace('RE: ', '', $subject);
- $subject = str_replace('FW: ', '', $subject);
+ $subject = str_ireplace('RE: ', '', $subject);
+ $subject = str_ireplace('FW: ', '', $subject);
+ $subject = str_ireplace('Fwd: ', '', $subject);
return $subject;
}