On Wed, Oct 09, 2013 at 10:15:47PM +0700, Nguyen Hung Thanh wrote: > Hi all, > Default dpace send email with *content="text/plain"* > How to config dspace to send email with *content="text/html"*
Well, first you would have to rewrite some DSpace code so that it produces email bodies which actually *are* HTML. Then set aside some time to deal with all of the people who will complain that you are now sending them ugly HTML mail instead of nice clean text/plain. Perhaps extend the EPerson class and the table behind it to add a profile field for preferred email format, and then extend the user interface so that users can set this preference. The actual change in MIME type will probably happen mostly in dspace-api/src/main/java/org/dspace/core/Email.java. -- Mark H. Wood, Lead System Programmer [email protected] Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________ Dspace-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-general
