Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 18 years ago

#448 closed enhancement (fixed)

Ability to specify the 'From' address for notification emails separate from the 'Reply-To' address

Reported by: mrowe@… Owned by: daniel
Priority: normal Milestone: 0.7.1
Component: general Version: 0.7
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Currently Trac uses the smtp_replyto option for both the From and Reply-To headers. When smtp_alwayscc and smtp_replyto are both set to mailing lists hosted on sourceforge.net, Sourceforge's SMTP server rejects the notification emails as being "forged". This is because the From address is @lists.sourceforge.net but the message is being received from an external mail server.

The easiest way to solve this problem is to add an extra configuration option to specify the From address.

Attachments (1)

trac-r599-smtp_from.patch (1.6 KB ) - added by mrowe@… 20 years ago.
Patch that implements suggested solution. The modification to templates/ticket_notify_email.cs is to prevent the last line of the notification email from being run in to automatically appended email footers.

Download all attachments as: .zip

Change History (3)

by mrowe@…, 20 years ago

Attachment: trac-r599-smtp_from.patch added

Patch that implements suggested solution. The modification to templates/ticket_notify_email.cs is to prevent the last line of the notification email from being run in to automatically appended email footers.

comment:1 by daniel, 20 years ago

Milestone: 0.7.1
Owner: changed from Jonas Borgström to daniel
Status: newassigned

Excellent idea, and many thanks for the patch. :)

comment:2 by daniel, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [625]. Merge to stable in [626].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain daniel.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from daniel to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.