Spring's mailSender with Google App Engine

Updated May 17, 2010
Spring's mailSender with Google App Engine

Ever wanted to use Spring’s mailSender in a GAE hosted application? This is how it’s done!

<bean id="mailSender" class="org.springframework.mail.javamail.JavaMailSenderImpl">
  <!-- Specific Google protocol used with Google App Engine -->
  <property name="protocol" value="gm" />
 </bean>