Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon Content Filter > From Header Modification : we can remove the Sender Name?

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon Content Filter  /

From Header Modification : we can remove the Sender Name?

[vernassa, adriano]
adriano vernass…
Newbie
Newbie
Posts: 11
adriano vernassa - 09:08am, Sep 26 2019

Hi,

there is a possibility to remove the sender name from email?
Thanks

  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Tyler Davis - Sep 30, 2019 3:54 pm (#1 Total: 1)  

Alt-N Technical Support  

Photo of Author
Tyler Davis
Frequent
Frequent
Posts: 259

MDaemon
RelayFax
SecurityGateway
Outlook Connector
SecurityPlus
ProtectionPlus
WebAdmin
Are you referring the display name in the double quotes in the from header? You could use regular expressions and MDaemon's content filter to do this. However, this may remove important data in the display name and is generally not recommended. This is why MDaemon's from header modification takes the actual address and places the address either before or after the display name.

For the condition - If the from header matches this regular expression, "[^"]+"

For the action - Find and Replace within the From header, "(.*?)" and replace with nothing (leave the box blank).

When testing the regex, type in "user" user@domain.com and click test, the result should be user@domain.com

Please be advised these strings were all sourced from the internet and MDaemon Support does not provide support for custom regular expressions. There are numerous sources and regex libraries online that can be used for crafting and testing expressions. For example, the expressions above were pulled from regextester.com.

https://www.regextester.com/97161
https://www.regextester.com/111689

--
Tyler Davis
MDaemon Technologies
https://www.mdaemon.com

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion. MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.altn.com/Support/RequestSupport/
---------------------------------------------------------------------



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.