"Contact this user" should copy email to the sender

Bug #290657 reported by Matthew Revell
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When I email someone using Launchpad's new contact form, I lose the text of the email I've just sent.

If I sent the email through my email client, I'd get to keep a copy in my "Sent" folder. That's important to remind me of what I've written.

Launchpad should provide a "Send a copy to me" option when emailing someone through the contact form.

Changed in launchpad:
status: New → Triaged
Barry Warsaw (barry)
Changed in launchpad-registry:
assignee: nobody → barry
Curtis Hovey (sinzui)
Changed in launchpad-registry:
assignee: barry → nobody
importance: Undecided → Low
Revision history for this message
Curtis Hovey (sinzui) wrote :

I'm not certain this can be done. We have the contact this user feature to allow users to contact other users with hidden email addresses. Forwarding a copy to the "sender" would divulge the hidden email address. This option could only be used with public addresses.

Revision history for this message
frizzle21 (frederik-nnaji) wrote :

that would be a starter.
and a notice somewhere in the contact form, informing the sender about this, offering him to tick that preference as 2 options this time
like:
+ "send me a copy (this would make my email address visible this time)"
+ "always send me a copy (this would make my email address visible every time)"

wouldn't that fix the problem sufficiently?

Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
Curtis Hovey (sinzui)
Changed in launchpad:
status: Triaged → In Progress
Curtis Hovey (sinzui)
Changed in launchpad:
status: In Progress → Triaged
assignee: Curtis Hovey (sinzui) → nobody
Revision history for this message
Curtis Hovey (sinzui) wrote :

I started working on this, but I choose to revert because the there are complications. I think someone with good knowledge of how recipient sets work can fix this issue in a days work. While we can send a copy of a message to the sender easily, the header and footer will before for someone else -- the reason and header rationale must be correct, otherwise new bugs are introduced.

The are user-to-user views doctest should be replaced with a unittest because small changes to the classes topples the doctest. ContactViaWebNotificationRecipientSet redefines a lot of normal behaviour that we want to restore. It currently only allows us to add the user or team that is being contacted. It generates all the recipients, rationales, and reasons exactly once. You cannot add another recipient, which is what we want to do in the case of the sender. One way to do this is to generate the recipient dict and allow code to later extend it. It needs to check of the recipient is also the sender, which is a little tricky because recipient sets work with preferred email addresses, so the selected email address must be known to the recipient set. Maybe we want to remove the choice of addresses.

There are two corner-cases that ContactViaWebNotificationRecipientSet needs to resolve:
1 Where the user contacts himself, does he get two emails with different rationales?
2 where the user is a member of the team getting the email, doe he get two emails or do we change rationale to from recipient to sender?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.