Issue Details (XML | Word | Printable)

Key: MCHANGES-107
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Olivier Lamy
Reporter: Christophe Lallement
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Changes Plugin

Add html output format for mail annoucement

Created: 21/Apr/08 04:31 AM   Updated: 02/Nov/08 05:23 PM   Resolved: 02/Nov/08 05:23 PM
Return to search
Component/s: announcement
Affects Version/s: 2.0
Fix Version/s: 2.1

Time Tracking:
Not Specified

File Attachments: 1. Text File custom-mail-content-type.patch (2 kB)


Patch Submitted: Yes


 Description  « Hide

We want to use a custom annoucement template wich is a HTML template to get a better look into our mail.
No pb to do this except the output format is hardcoded into PLAINTEXT into plugin.

Can you add an option into the plugin configuration (after <templateDirectory> tag for example) to specify the output type (HTMP or PLAINTEXT).
The default should be "text/plain".

The Hardcoded feature is in file ProjectJavamailMailSender.java (svn rev 553871) line 181.

Thx
Christophe



Christophe Lallement added a comment - 21/Apr/08 11:36 AM

This is a patch from tag "maven-changes-plugin-2.0"
Patch made from root project (where pom.xml is located)

Compilation is ok, no test provided.


Christophe Lallement added a comment - 21/Apr/08 11:37 AM

To udpate my request title, understand HTML in place of Http.


Olivier Lamy added a comment - 02/Nov/08 05:23 PM

Fixed in rev 709989.
SNAPSHOT deployed.
Thanks !