File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes how can i send a mail using spring service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "how can i send a mail using spring service?" Watch "how can i send a mail using spring service?" New topic
Author

how can i send a mail using spring service?

shyam sunder prasad
Ranch Hand

Joined: Mar 23, 2011
Posts: 62
as of now i can send mail using java mail with hard coding in java class.

some told me that as we also send mail using spring service?
please help by telling that.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17256
    
    6

Here's a link to that exact documentation on Email in Spring
http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mail.html

Basically a MailSender class that you define as a bean and use it to send a MailMessage object.

Good Luck.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
shyam sunder prasad
Ranch Hand

Joined: Mar 23, 2011
Posts: 62
thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how can i send a mail using spring service?