プロジェクト

全般

プロフィール

Vote #66035

完了

Multiple email addresses for each user

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
開始日:
2009/11/19
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
80
issue_org_id:
4244
author_id:
9154
assigned_to_id:
1
comments:
53
status_id:
5
tracker_id:
2
plus1:
24
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

Is there anyway that we can store multiple e-mail addresses for a user? This feature will greatly assist us, so we don't have to select multiple people from the same company as "watchers". As well, they will all be informed on the progress of the task.


journals

Iming Chan wrote:
> Is there anyway that we can store multiple e-mail addresses for a user? This feature will greatly assist us, so we don't have to select multiple people from the same company as "watchers". As well, they will all be informed on the progress of the task.

Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.
--------------------------------------------------------------------------------
Felix Schäfer wrote:
> Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

Indeed, this would be an elegant solution and pretty easy to implement.
--------------------------------------------------------------------------------
Multiple emails on a user would be great for [[RedmineReceivingEmails]] and my situation since our employers email solution can't be accessed outside the office and we have quite a few people that work "on the go" that uses another email address when not in the office.

Not that this is the same need as the reporter but thought I'd mention it here instead of creating a new ticket.
--------------------------------------------------------------------------------
Felix Schäfer wrote:
> Iming Chan wrote:
> > Is there anyway that we can store multiple e-mail addresses for a user? This feature will greatly assist us, so we don't have to select multiple people from the same company as "watchers". As well, they will all be informed on the progress of the task.
>
> Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

I think this is a good idea and would be very useful also the my use!
I hope this could be done! I vote for this!
--------------------------------------------------------------------------------
This is actually a problem for us. We have clients who use a business and gmail address to respond to issues and issue comments are frequently getting lost because someone will reply to an issue from their gmail address and Redmine will ignore the email because it doesn't belong to a valid user.

Allowing users to have more than one email address would solve a lot of communication problems for us.

--------------------------------------------------------------------------------
This feature is going to be very very useful for us. Most of our users have more than one email account they need to use due to various reasons, and currently there is no way to receive incoming emails from more than one email address per user.

Ideally, we will be able to add a list of email addresses for each user.
--------------------------------------------------------------------------------
Allowing Multiple e-mail addresses per user would be quite nice and would help with auto creation of accounts via an LDAP-Authentication-Source: in LDAP the mail-attribute is allowed to be multi-valued, currently when doing on the fly account creation, Redmine fetches the first mail-attribute returned by the LDAP-server, but that is not necessarily the one you wished to be in use.
--------------------------------------------------------------------------------
+1

would be really great if a user could specify more then one adress and then select if it should be used for notifications and/or sending issues to redmine or for reseting password. I hope this will get a higher priority... this could make a lot of thing much easier
--------------------------------------------------------------------------------
There is one more use case when multiple email addresses would be helpful, when I'm using different addresses while committing to git repository, redmine hooks to my profile only commits where email is equal to email in my redmine profile. It would be great to be able to add multiple emails to profile.
See how how it works on http://github.com
--------------------------------------------------------------------------------
I want to ask for this feature, too.

My clients use multiple email addresses to report issues. Each time someone uses a new address I need to create a new user.
The problem now is that all those duplicated users get emails on project updates. This is very annoying.

The possibility to assign multiple email addresses to one user is critical for me. Otherwise I cannot properly import issues from mail but need to enter each issue manually.
--------------------------------------------------------------------------------
+1 for this feature...
--------------------------------------------------------------------------------
+1
It will be great
--------------------------------------------------------------------------------
+1
This would definitely reduce the amount of unnecessary duplicate user accounts
--------------------------------------------------------------------------------
+1

We have people replying to existing issues with a different e-mail address... replies get lost.

--------------------------------------------------------------------------------
+1
I need it!
--------------------------------------------------------------------------------
I need this as well.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
This is unbelievable. So if I have different email addresses and I reply from a different email address that is not associated with my redmine account, the reply will get lost? Atleast redmine should bounce back and tell me of this. It seems like this ticket should increase in priority and be targeted for the next release.

--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Felix Schäfer wrote:
> > Maybe this would be better solved by allowing people to select a group in the watcher list instead of only single people.

Hello,

I'm wondering if the needs explained by other users (issues marked as duplicate, latest comment above) are indeed the same.
In the meantime, plugins have been created to handle groups of people, yet it has nothing to do with people replying with a different e-mail address.

> Indeed, this would be an elegant solution and pretty easy to implement.

I don't understand this solution nor why it would solve the first problem. Can you tell an explicit scenario ? That would definitely clarify. Thanks.

--------------------------------------------------------------------------------
+1
pretty important for us to avoid duplicate users (we auto-create users upon email reception)
--------------------------------------------------------------------------------
+1
I'll explain my scenario.
Our company used to have myname@mycompany.com format for email addresses. Recently it started using myname@my-company.com as the email address. Whether you send a mail to myname@mycompany.com or myname@my-company.com it goes to teh same inbox. But for outgoing mail few people use myname@mycompany.com instead of the new myname@my-company.com
We create all redmine users using the myname@my-company.com format. But when someone replies to the ticket from a myname@mycompany.com it gets ignored sicne redmine doesn't recognize that email address.

The feature we request is
- Ability to add multiple email addresses to one user (so that incoming emails from any of those addresses would be linked to that user)
- Ability to select one or more email addresses from the list to deliver notifications.
--------------------------------------------------------------------------------
+1
We have the same issue as many of the commentors:
Many of our users forward their business mail to their home mail and reply to tickets from either one.
It would be great to be able to add multiple email addresses per user so that the replies will be properly tracked.
--------------------------------------------------------------------------------
As was mentioned before, a beautiful example for a nice UI for such a feature is Github's user profile settings for emails, as can be seen here https://github.com/settings/emails if you are logged in with a github account. Basically, you can add any number of emails, and choose one as the "default", to which email notifications etc. go.

This also one possible way to resolve issue #12106.

This is just for the "frontend" part of course. For the "backend" part, I guess that instead of storing a single email address as part of each user record (i.e. a unique key in each User record in the database), one would have to employ a 1:N relation between users and emails... with a table of email addresses, each with some flags, like whether it has been verified or whether it is pending verification / authentication. Also, one would have to decide what happens if user A adds email address foo@bar.com, then a minute later user B does the same... does the first request prevent the second? Or does the second cancel the first one? Or are both kept track of? The first approach could be abused to deny user B use of their email address (this could be mitigated by a verification timeout of, say, 30 minutes). The second approach could also be abused (a bot could simply repeat requests for addition of an email every 30 seconds), though it would require more effort. The last approach requires more work to implement, I guess, but might ultimately be the best solution...

Of course this is all purely hypothetical, and there might be much better solutions, too. And of course this all is quite worthless as long as nobody is willing and able to implement something. Still, I am hoping -- Redmine developers so far have surprised me very positively multiple times, by implementing or fixing things just as I needed them. Hats off to all the people who put hard work into making Redmine the great software it now is!
--------------------------------------------------------------------------------
Please create an option to send updates to multiple addresses. OMG. this is very needed feature.
--------------------------------------------------------------------------------
+1
We use email aliases, and as such sometimes when users send an email from an alias that is not listed as their primary in LDAP, the message bounces because Redmine doesn't know about that address. This would be a very nice feature.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1
Using Aliases too.
--------------------------------------------------------------------------------
We got the same problem like Max Horn.

--------------------------------------------------------------------------------
+1

This would be very useful for us since some of our users have multiple emails addresses for the different organizations/communities they're working with.
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1 this is needed badly.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Is there any progress with that issue ? Will we ever have the possibility to set multiple email addresses ?
--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
Yes, please add this feature. I have users that submit tickets via email, and they would like the ticket to have a group email CC'ed on each email. This would easily be accomplished by allowing me to add an extra email to the users profile. Otherwise I need to remember to add the groups email as a watcher, which is suboptimal as I could easily forget to do this all the time.

IF anyone knows of a workaround please let me know. I thought of making a subproject for these users and adding the groups email as an email address that will always be notified if anything is updated in this project but that is getting a little wonky IMO.

Thanks!
--------------------------------------------------------------------------------
John Groboske wrote:
> I have users that submit tickets via email, and they would like the ticket to have a group email CC'ed on each email.

It sounds like you would be interested in #4511.

> I need to remember to add the groups email as a watcher, which is suboptimal as I could easily forget to do this all the time.

I forget where/what the feature is called, but at some point in the process users who are CC'd on issue emails are added as watchers. It may be that this only applies when a ticket is created however. If there isn't already a feature request submitted that would be a good one to make. In our particular setup this wouldn't work for our users until a moderator routes/assigns them out of the "Unassigned" project (which they do not have access to).
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1. This feature is definitely required.
--------------------------------------------------------------------------------
+100
--------------------------------------------------------------------------------
Hi all,

Been following this ticket for a moment.

h2. Clarifying the need

It looks like there are different needs:

* *Need 1: send-to-many.* Redmine sending notifications to several addresses (#4675 looks like this)
* *Need 2: receive-from-many.* cf. Henrik's comment above, people write or reply to Redmine, but the "from" is not what is setup as their address.
* *Need 3: group-as-watcher.* This ticket description, which looks like a hack to add a pseudo-user with addresses of different people as a way to add a group as watcher.

Perhaps this should be made clearer, since one ticket to discuss three issues does not help much.

h2. Quick-n-dirty fix for need 2: receive-to-many

I have been wanting the second need ( receive-from-many ) for years.

As a quick-n-dirty fix I modified the bash script I use to glue between postfix and rdm-mailhandler. Now it passes the mail body through a simple sed script like this :

<pre>
sed -f ../sedscript <"${MAILBODYFILENAME}" >"${MAILBODYFILENAMEFROMADJUSTED}"
</pre>

The @sedscript@ file looks like this:

<pre>
s/someunwantedfromadress@somedomain/theactualaddressofuser@theactualdomain/
s/someotherunwantedfromadress@somedomain/theactualaddressofuser@theactualdomain/
</pre>

It's hackish because any instance of the address will be changed, not only in "from" field, even in the body. This will break the general case. This will even break if some pattern happens to match a substring of a different address (e.g. s/foo@domain.co/bar@somedomain.com/ will turn myfoo@domain.com into mybar@somedomain.comm).

In practice it will probably be enough for our use.

Hope clarifying the need may help sort things out. My two cents. Thank you for your attention.

--------------------------------------------------------------------------------
+1
--------------------------------------------------------------------------------
+1

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
+1 for "Need 2", as Stéphane described it. Nowadays, I guess there is only a minority using one Mailadress only. The possibility to map multiple Mailadresses to one user is a great feature, not only for recieving Issue updates by mal, but also for Mapping code repository commits to the correct users.
--------------------------------------------------------------------------------
+1 for "Need 2" as Marc and Stéphane described. In our company we have the same issue Dhanushka described long ago and we are want emails not to be lost when the sender has configured his email client with the old domain name. Thanks!
--------------------------------------------------------------------------------
Feature added in r13886.

Users still have a default email and a new form is added to manage additional email addresses, so users with a single email won't have to deal with it. Notifications can be turned on/off for each additional emails. All of them will be used for incoming emails or reposiotry user mapping.

The maximum number of additional emails per user can be controlled with a new setting (default set to 5), setting it to 0 will disable additional emails.

For backward compatibility with existing code, @User#mail@ and @User#mail=@ are preserved as the accessors of the default email address string. The existing @User.find_by_mail@ now matches any of the user's email addresses.

!emails.png!
--------------------------------------------------------------------------------
Helló

How can i apply this future in our redmine?

Environment:
Redmine version 2.5.2.stable
Ruby version 1.9.3-p484 (2013-11-22) [i686-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2

Thanks a lot
Norbert
--------------------------------------------------------------------------------
Koronics Norbert wrote:
> Helló
>
> How can i apply this future in our redmine?
>
> Environment:
> Redmine version 2.5.2.stable

Not in version:2.5.2.
--------------------------------------------------------------------------------
which verison i need to use for this?
--------------------------------------------------------------------------------
You can see in this issue target version.
--------------------------------------------------------------------------------


related_issues

relates,Closed,8818,Repository user-mapping with multiple email addresses
relates,Closed,4511,Allow adding user groups as watchers for issues
duplicates,Closed,4675,Multiple e-mails for each user
duplicates,Closed,10708,Need to add two email id for one user
duplicates,Closed,14404,Multiple maild id for user in redmine

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0