PDA

View Full Version : invoking outlook from controller



CuriousHARD
Jul 29th, 2007, 06:09 AM
hi i want to send an email right after when an object is saved in the database ... i m using hibernateTemplate in spring.. object save is ok but how can i send intruction to my outlook from my controller so that it open outlook for me to make an email..

my already working process is that i m saving an object in database and producing pdf after that. but now the next step i wnat to do is that i want to send the same pdf as an attachemnt to the email using outlook


any suggestions are appriciated


thnaks in advance

Jörg Heinicke
Jul 29th, 2007, 05:18 PM
Don't think of "accessing Outlook" but just send an email via smtp or something like that. Spring provides support for this.

Joerg

mstralka
Jul 29th, 2007, 06:51 PM
Read Matt Raible's article (http://www.theserverside.com/tt/blogs/showblog.tss?id=SpringVelocityEmail)