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 19:31 Go to next message
Gregory Testa is currently offline Gregory TestaFriend
Messages: 28
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 19:53 Go to previous messageGo to next message
Dan Darnell is currently offline Dan DarnellFriend
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 12:58 Go to previous messageGo to next message
Gregory Testa is currently offline Gregory TestaFriend
Messages: 28
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 16:40 Go to previous messageGo to next message
Dan Darnell is currently offline Dan DarnellFriend
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 20:45 Go to previous messageGo to next message
Dan Darnell is currently offline Dan DarnellFriend
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


  • Attachment: EMailTest.zip
    (Size: 32.54KB, Downloaded 155 times)
Re: Sending Email [message #895434 is a reply to message #895426] Thu, 12 July 2012 21:39 Go to previous messageGo to next message
Theresa Ramsey is currently offline Theresa RamseyFriend
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 20:35 Go to previous messageGo to next message
Gregory Testa is currently offline Gregory TestaFriend
Messages: 28
Registered: April 2012
Junior Member
Works great! Thanks, Dan!!
Re: Sending Email [message #1079590 is a reply to message #895426] Sun, 04 August 2013 21:02 Go to previous messageGo to next message
Jurij J is currently offline Jurij JFriend
Messages: 4
Registered: August 2013
Junior Member
Hello Dan,

thank you a lot for sharing your code.
I've tried to use your Mail.egl but compiler goes wrong:
>>The type JavaObject cannot be resolved

If I try to organize import(import eglx.java.JavaObject;), then compiler wrong too:
>>javaName cannot be resolved

Could you help me with some advise please?

Thank you in advance/ Jurij
Re: Sending Email [message #1079595 is a reply to message #895141] Sun, 04 August 2013 21:15 Go to previous messageGo to next message
Jurij J is currently offline Jurij JFriend
Messages: 4
Registered: August 2013
Junior Member
Hello all,

I've tried to use this code.
Definition of external type in Mail.egl goes wrong.

Compiler says:
>>The type JavaObject cannot be resolved.

And if I organize imports(import eglx.java.JavaObject;) then:
>>javaName cannot be resolved.

Could you please help me with some advise.

Thank you in advance. /Jurij
Re: Sending Email [message #1080087 is a reply to message #895141] Mon, 05 August 2013 12:56 Go to previous messageGo to next message
Jurij J is currently offline Jurij JFriend
Messages: 4
Registered: August 2013
Junior Member
update:
It works for EDT 8.1.
For EDT 8.2 does't work, see previous messages(problem with type JavaObject).

/Jurij
Re: Sending Email [message #1080799 is a reply to message #1080087] Tue, 06 August 2013 11:41 Go to previous messageGo to next message
Richard Moulton is currently offline Richard MoultonFriend
Messages: 92
Registered: August 2011
Location: Devon, UK
Member
This may or may not help but check out the following page that lists differences in the language and syntax between releases.

http://wiki.eclipse.org/EDT:The_Differences_between_EDT_0.8.2_and_EDT_0.8.1

Richard
Re: Sending Email [message #1082365 is a reply to message #1080799] Thu, 08 August 2013 13:16 Go to previous message
Jurij J is currently offline Jurij JFriend
Messages: 4
Registered: August 2013
Junior Member
Hi Richard,
thanks for this link! I didn't find reference to external types differences, but what I found out:
This code works for EDT 8.2 as well BUT only if project is configured to support ONLY generation to Java(generation to JavaScript is turned off).

Regards, Jurij
Previous Topic:EDT Support External Types?
Next Topic:egl future
Goto Forum:
  


Current Time: Fri Dec 19 17:34:46 GMT 2014

Powered by FUDForum. Page generated in 0.06521 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software