Solved

Sending email from Spring MVC framework.

Posted on 2008-06-22
6
4,202 Views
Last Modified: 2013-11-24
I want to send email from  spring mvc framework. I want an example code with its application-servlet.xml entries.
In email content data , i am having data comming from DB as email body . I don't want to send it as a file attachment.
Is there any way to send HTML template from spring mvc.
Please respond ASAP.
0
Comment
Question by:Shakil_Akhtar
  • 3
  • 3
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 21843560
0
 

Author Comment

by:Shakil_Akhtar
ID: 21843688
Its good but can u tell  me .How much data be can send from SimpleMailMessage setText(String) method .
Really this was good what you suggested.
0
 
LVL 92

Expert Comment

by:objects
ID: 21843705
theres no limit that I'm aware of.
any limits would be imposed by mail servers that the mail passed thru.

0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:Shakil_Akhtar
ID: 21843715
Is this for setText(Stirng str) method ?
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 21843719
yes
0
 

Author Comment

by:Shakil_Akhtar
ID: 21843724
ok thanks ! I got my answer
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
copyEvens challenge 6 98
array6 challenfge 6 101
How to increase Spring boot/Tomcat max file upload size 2 72
couple of eclipse 5 37
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question