Solved

Sending email from Spring MVC framework.

Posted on 2008-06-22
6
4,194 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 your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
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.

707 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now