[GH-ISSUE #137] Alias 'From' name includes name and email address #712

Closed
opened 2026-03-14 10:19:00 +03:00 by kerem · 7 comments
Owner

Originally created by @danphilibin on GitHub (Mar 14, 2021).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/137

Hi, I'm trying to figure out why all of my alias's names have a sanitized version of their email address in the full contact name:

CleanShot 2021-03-14 at 14 15 57@2x

I'd prefer the contact's name was simply "Bookshop". This happens with all my aliases in Gmail and HEY, so I'm assuming that sender name formatting is coming from AnonAddy. (is this where that happens?)

Two questions:

  1. Is there a reason this is the default behavior?
  2. Would you consider a setting to change the default From name format?
Originally created by @danphilibin on GitHub (Mar 14, 2021). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/137 Hi, I'm trying to figure out why all of my alias's names have a sanitized version of their email address in the full contact name: ![CleanShot 2021-03-14 at 14 15 57@2x](https://user-images.githubusercontent.com/180350/111084626-86872580-84d0-11eb-91e5-32ae0effc50d.png) I'd prefer the contact's name was simply "Bookshop". This happens with all my aliases in Gmail and HEY, so I'm assuming that sender name formatting is coming from AnonAddy. (is [this](https://github.com/anonaddy/anonaddy/blob/master/app/Mail/ForwardEmail.php#L126) where that happens?) Two questions: 1. Is there a reason this is the default behavior? 2. Would you consider a setting to change the default From name format?
kerem closed this issue 2026-03-14 10:19:05 +03:00
Author
Owner

@willbrowningme commented on GitHub (Mar 15, 2021):

Yes that is the correct location in the code where the "From:" header is set.

  1. Yes that is default behaviour. The reason the @ symbol is replaced by " at " is because if you include an email address in the "From:" header of a message many email providers interpret it as an attempt to spoof a sender or as a phishing attempt which can result in the email landing in spam or being rejected completely.
  2. Yes I will look into adding an option to choose how this is formatted.
<!-- gh-comment-id:799584986 --> @willbrowningme commented on GitHub (Mar 15, 2021): Yes that is the correct location in the code where the "From:" header is set. 1. Yes that is default behaviour. The reason the @ symbol is replaced by " at " is because if you include an email address in the "From:" header of a message many email providers interpret it as an attempt to spoof a sender or as a phishing attempt which can result in the email landing in spam or being rejected completely. 2. Yes I will look into adding an option to choose how this is formatted.
Author
Owner

@rossdargan commented on GitHub (May 20, 2021):

Ideally I would like the from name part of the email just to match the original from email. It would be great to see this changed.

<!-- gh-comment-id:845275221 --> @rossdargan commented on GitHub (May 20, 2021): Ideally I would like the from name part of the email just to match the original from email. It would be great to see this changed.
Author
Owner

@xanoni commented on GitHub (May 21, 2021):

Ideally I would like the from name part of the email just to match the original from email. It would be great to see this changed.

You can set a custom "From" name in the AnonAddy settings ("Update From Name"). We probably don't want to just copy the "From" from your real email account, given it would de-anonymize you.

<!-- gh-comment-id:845562633 --> @xanoni commented on GitHub (May 21, 2021): > Ideally I would like the from name part of the email just to match the original from email. It would be great to see this changed. You can set a custom "From" name in the AnonAddy settings ("Update From Name"). We probably don't want to just copy the "From" from your real email account, given it would de-anonymize you.
Author
Owner

@rossdargan commented on GitHub (May 21, 2021):

Ideally I would like the from name part of the email just to match the original from email. It would be great to see this changed.

You can set a custom "From" name in the AnonAddy settings ("Update From Name"). We probably don't want to just copy the "From" from your real email account, given it would de-anonymize you.

I mean the emails you recieve. The from name is changed from the senders name to the senders name plus the email address.

<!-- gh-comment-id:845755135 --> @rossdargan commented on GitHub (May 21, 2021): > > Ideally I would like the from name part of the email just to match the original from email. It would be great to see this changed. > > You can set a custom "From" name in the AnonAddy settings ("Update From Name"). We probably don't want to just copy the "From" from your real email account, given it would de-anonymize you. I mean the emails you recieve. The from name is changed from the senders name to the senders name plus the email address.
Author
Owner

@xanoni commented on GitHub (May 23, 2021):

@rossdargan so you want it to display just "Bookshop", without the email address? I guess that's something the AnonAddy team could implement.

EDIT: but please keep the current format for me :)

<!-- gh-comment-id:846512079 --> @xanoni commented on GitHub (May 23, 2021): @rossdargan so you want it to display just "Bookshop", without the email address? I guess that's something the AnonAddy team could implement. EDIT: but please keep the current format for me :)
Author
Owner

@shumink commented on GitHub (Jun 9, 2021):

I would love to see this as an option

<!-- gh-comment-id:857594885 --> @shumink commented on GitHub (Jun 9, 2021): I would love to see this as an option
Author
Owner

@willbrowningme commented on GitHub (Nov 1, 2022):

This will be added shortly, discussion for it is here - https://github.com/anonaddy/anonaddy/discussions/370.

<!-- gh-comment-id:1298358452 --> @willbrowningme commented on GitHub (Nov 1, 2022): This will be added shortly, discussion for it is here - https://github.com/anonaddy/anonaddy/discussions/370.
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#712
No description provided.