Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGL Development Tools » Sending Email
Sending Email [message #895141] Wed, 11 July 2012 15:31 Go to next message
Gregory Testa is currently offline Gregory Testa
Messages: 23
Registered: April 2012
Junior Member
Would anyone know if there is a good tutorial/sample on sending email within an EGL CE project?
I've tried porting Aaron A.'s EGL Email project (on RBD w/ WAS 6.1) but wasn't able to do it.
Thanks!
Gregory
Re: Sending Email [message #895148 is a reply to message #895141] Wed, 11 July 2012 15:53 Go to previous messageGo to next message
Dan Darnell is currently offline Dan Darnell
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
Please help me understand a bit more...

Are you talking about Aaron's RPG EMail solution or something he did with EGL? (I didn't know he did anything with EGL.)

Do you really want/need to do this in EGL CE (now an obsolete product) or could you use EDT or RBD instead?

I have examples that might help you but I'm confused about what you've tried and where...

--Dan
Re: Sending Email [message #895324 is a reply to message #895148] Thu, 12 July 2012 08:58 Go to previous messageGo to next message
Gregory Testa is currently offline Gregory Testa
Messages: 23
Registered: April 2012
Junior Member
Hi Dan --
I'm working in the Eclipse IDE for EGL Web Developers Version 0.8.0.

Previously, I was working in RBD 7.5, and I had imported Aaron's EGL Email project and updated it for WAS 7.0 and it worked great. I've attached his original project.

...project is 3M too big to attach. It is in IBM's developerworks...google on EGLRichUIEmail.zip (couldn't attach the link either sorry)

But now, I would like to get this running in my new EGL Rich UI environment (preferably with Tomcat 6.0 - as that would be my deployment environment).

Any suggestions are greatly appreciated.

Thanks,
Gregory T.
Re: Sending Email [message #895389 is a reply to message #895324] Thu, 12 July 2012 12:40 Go to previous messageGo to next message
Dan Darnell is currently offline Dan Darnell
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
Ah, gotcha. Different Aaron than I was thinking of...now I understand that part. Razz

I'm gonna check out the package you referenced...

--Dan
Re: Sending Email [message #895426 is a reply to message #895324] Thu, 12 July 2012 16:45 Go to previous messageGo to next message
Dan Darnell is currently offline Dan Darnell
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
Okay...I compared what Aaron was doing to my own Java Mail implementation and then ported a hybrid of the two into EDT.

Attached is an EDT project with an example using the Java Mail API in a service invocation from a Rich UI client. I used EDT 0.81 M3 and tested the client both inside the IDE and deployed to an external Tomcat 6 server.

--Dan


Re: Sending Email [message #895434 is a reply to message #895426] Thu, 12 July 2012 17:39 Go to previous messageGo to next message
Theresa Ramsey is currently offline Theresa Ramsey
Messages: 62
Registered: July 2009
Location: research triangle park, n...
Member
Thanks for sharing Dan!
Re: Sending Email [message #895623 is a reply to message #895426] Fri, 13 July 2012 16:35 Go to previous message
Gregory Testa is currently offline Gregory Testa
Messages: 23
Registered: April 2012
Junior Member
Works great! Thanks, Dan!!
Previous Topic:IBM i Program Call under 0.81 M3
Next Topic:Set compiler options in EGL New Package wizard
Goto Forum:
  


Current Time: Sat May 18 16:31:35 EDT 2013

Powered by FUDForum. Page generated in 0.02599 seconds