Solved

Sending email from Spring MVC framework.

Posted on 2008-06-22
6
4,206 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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 

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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
strCopies  challenge 17 104
why cannot we forward request once the response is committed 2 51
Glassfish admin console not working 1 60
hashmap order 17 42
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.

726 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