Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4220
  • Last Modified:

Sending email from Spring MVC framework.

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
Shakil_Akhtar
Asked:
Shakil_Akhtar
  • 3
  • 3
1 Solution
 
objectsCommented:
0
 
Shakil_AkhtarAuthor Commented:
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
 
objectsCommented:
theres no limit that I'm aware of.
any limits would be imposed by mail servers that the mail passed thru.

0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Shakil_AkhtarAuthor Commented:
Is this for setText(Stirng str) method ?
0
 
objectsCommented:
yes
0
 
Shakil_AkhtarAuthor Commented:
ok thanks ! I got my answer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now