Tuesday, 31 May 2011

Multiple 'MailSender's in grails-mail Plugin

In the project, there was a use-case where we have to use different SMTP configurations for sending mails from different user accounts. To elaborate, each user in the system can create a 'site' which sends notification mails using custom mailing configuration provided by the user. I had a look at the grails-mail plugin, but found out that it currently did not support multiple MailSenders.

So I modified the plugin and added a new method in which we could specify a custom MailSender. This blog post contains information on how I did it.

8 comments:

  1. A good UK writer will probably be along on publishing a dissertation affirmation, composing an investigation suggestion as well as arranging the analysis prior to it is dispatched to your account. Only make certain the corporation you decide on is situated and also authorized locally. Many give a 100% cash back guarantee and perform the updates without charge. Using this method you could end up absolutely clear on obtaining the grade of creating you desire. An area dissertation writing help organization with ancient authors will not likely outsource your hard work available to another country where by copy writers are not sure of the particular composing keep by itself this school expectations of one's college or university.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This is a WooCommerce add-on. By Using this module administrator and purchaser can get warning about their request through sms utilizing distinctive SMS passages.woocommerce sms plugin

    ReplyDelete
  4. Thanks a lot for letting me a chance to visit your any pointers. Your article about web design is really impressed me very muchsite design service

    ReplyDelete
  5. Dear! It's my great honor to be on your blog,I benefit a lot from reading your blog.This data recovery cape town software also give me help .I want everybody to know it.

    ReplyDelete
  6. If you are sending the request to a happy adult child it is always best to do it in person if you can, but if not, below is the exact email template I give my customers to get reviews from past and new customers.)http://www.audiomack.com/song/gmail-support/how-to-contact-gmail-supportmp3

    ReplyDelete
  7. Thank you so much for sharing blog..All woocommerce SMS notification plugin feature are good increase visibility to our business.

    ReplyDelete
  8. Wow, so thankful! I like your blog very much. By the way, you can choose some discount ray ban sunglasses here.

    ReplyDelete

 
Copyright David Bourget and University of London, 2011. This blog's content is license under the Attribution-ShareAlike license.