Re: [appengine-java] Any workaround to send email from dev server?

2009-11-30 Thread Ikai L (Google)
You can use SMTP to send the emails:

http://www.javacommerce.com/displaypage.jsp?name=javamail.sqlid=18274

To do this, though, you'd need to download and load the JavaMail classes and
change your code to use an SMTP server. You might be better off creating a
development version of the application on appspot.com and sending mail from
there if all you need to do is verify formats in clients.

On Fri, Nov 27, 2009 at 11:19 AM, James Cooper jamespcoo...@gmail.comwrote:

 Hi,

 I understand that the dev server logs all outbound emails and does not
 actually send them.

 Is there a way to workaround this so the dev server actually sends the
 email?  I want to verify that the generated HTML content looks correct
 in various email clients before deploying to production.

 My only current way of doing this is from a JUnit test, but it would
 be ideal to test it from the web app as well.

 Any ideas?

 thanks

 -- James

 --

 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.





-- 
Ikai Lan
Developer Programs Engineer, Google App Engine

--

You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Any workaround to send email from dev server?

2009-11-27 Thread James Cooper
Hi,

I understand that the dev server logs all outbound emails and does not
actually send them.

Is there a way to workaround this so the dev server actually sends the
email?  I want to verify that the generated HTML content looks correct
in various email clients before deploying to production.

My only current way of doing this is from a JUnit test, but it would
be ideal to test it from the web app as well.

Any ideas?

thanks

-- James

--

You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.