diff --git a/interface/web/mail/mail_user_filter_edit.php b/interface/web/mail/mail_user_filter_edit.php
index 72f13c9b94697a8f6b1986e8d35595183176ac25..3974b8f3cb34cc5befb9277d2301f6703fd28d76 100644
--- a/interface/web/mail/mail_user_filter_edit.php
+++ b/interface/web/mail/mail_user_filter_edit.php
@@ -148,7 +148,7 @@ if ( ".'$RETURNCODE'." != 1 )
 		} elseif ($this->dataRecord["op"] == 'is') {
 			$content .= $searchterm."$/:h)\n";
 		} elseif ($this->dataRecord["op"] == 'begins') {
-			$content .= $searchterm."/:h)\n";
+			$content .= " ".$searchterm."/:h)\n";
 		} elseif ($this->dataRecord["op"] == 'ends') {
 			$content .= ".*".$searchterm."$/:h)\n";
 		}