• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

spring javamil

 
hani Ibrahim
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I write 2 classes for send emails.One using javamial api pure and other using spring api which also depends on mail.jar.
Is it advantage for spring send email that make it significant such as performance .
Please answer.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Hani,

hani Ibrahim wrote:Is it advantage for spring send email that make it significant such as performance .

I don't think so. Infact Spring classes wrap up JavaMail API classes only. So internally it uses Java Mail.

Actually, Spring provides more abstract way configuring email. Spring also provides integration with various template technology for email like FreeMaker and Velocity. So Spring gives ease in development. Refer http://static.springframework.org/spring/docs/2.0.x/reference/mail.html for more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic