Closed Bug 483265 Opened 17 years ago Closed 17 years ago

E-mail template

Categories

(addons.mozilla.org Graveyard :: Collections, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fligtar, Assigned: wenzel)

References

Details

Attachments

(3 files, 1 obsolete file)

Need copy for the e-mail sharing template.
Subject: {sender's email} recommends {add-on name} {sender email} wants you to know about the {add-on name} add-on for Mozilla Firefox. Comments from sender: {optional comment} Information about {add-on name}: {add-on summary and link to display page} --- Add-ons are third party enhancements to Firefox that add new features or modify existing features. You can learn more about add-ons at the <a href="https://addons.mozilla.org">Firefox Add-ons</a> website. --- Sent by Firefox Add-ons on behalf of {sender email}
Thoughts on the above email template?
Fred, can we update the e-mail template with the above please? Also, I'm not sure if this change was already made with the giant API patch, but we should require users to be logged in to send an email. I think most sharing services send the email from the sender's email address and just add a "Sender" header with the service's name/email.
Assignee: fligtar → fwenzel
Priority: -- → P1
Would that be on the Bandwagon branch only, as well? Also, unsure which API patch you are referring to. Do you have a bug number, please?
Yeah, all the bandwagon development except for the extension is taking place on the bandwagon branch. And the API megapatch is in bug 478125. Looks like there were in fact some changes to the email stuff in it.
It seems, the recommendation email code is now duplicated (i.e., one API function in the regular API and one in the sharing API). Should I back out the code from the regular API (on trunk and the branch)?
Depends on: 456143
This page is for both the bandwagon branch and trunk, as it removes the recommendation call from the regular API (it is part of the sharing API now and need not be duplicated).
Attachment #369131 - Flags: review?(fligtar)
Attachment #369131 - Flags: review?(fligtar) → review+
Attached patch Email template patch (obsolete) — Splinter Review
This should do it.
Attachment #369165 - Flags: review?(fligtar)
Removed sharing from the regular API: - bandwagon branch: r23732 - trunk: r23733
Comment on attachment 369165 [details] [diff] [review] Email template patch Couple things: - The "comments from sender" section should only be displayed if the sender actually input comments. - I'm not sure if SITE_URL will work for this, because the API will be on services.addons.mozilla.org but we want the links to go to addons.mozilla.org.
Attached patch Patch, rev. 2Splinter Review
Good points, should be fixed here.
Attachment #369165 - Attachment is obsolete: true
Attachment #369177 - Flags: review?(fligtar)
Attachment #369165 - Flags: review?(fligtar)
Attachment #369177 - Attachment is patch: true
Attachment #369177 - Attachment mime type: application/octet-stream → text/plain
Attachment #369177 - Flags: review?(fligtar) → review+
Comment on attachment 369177 [details] [diff] [review] Patch, rev. 2 There's another instance of SITE_URL used, but other than that, looks good!
Committed, minus the second SITE_URL: r23735.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Just tested it out - very cool. I noticed that the sender is still "Mozilla Add-ons <nobody@mozilla.org>" - most sharing sites I looked at have the email come from the sender's address and have a "Sender" header that would say Mozilla Add-ons <nobody@mozilla.org>. Can we make that change?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Hm, I had to patch the email component for it and read RFC 5322, but now it seems to work well. In my tests it works as expected, showing the user's email as "from" and Mozilla Add-ons as "sender".
Attachment #369380 - Flags: review?(fligtar)
Attachment #369380 - Flags: review?(fligtar) → review+
Comment on attachment 369380 [details] [diff] [review] Sender header patch Cool, looks good. Thanks!
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
Return-Path: <Mozilla.Add-ons@mozilla.org> <snip> Reply-To: stephen.donner@gmail.com <snip> Sender: "Mozilla Add-ons" <nobody@mozilla.org> Verified FIXED; checked copy, and the above seems right to me, based on comments in this bug.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: