Mail beans

Questions and answers on developing, deploying and using plugins and JavaBeans

Mail beans

Postby patrick » Tue Jun 08, 2004 11:48 am

Hello,

I have been evaluating several email solutions using beans. I have tried ezjavabeans solution, but I figured it has some shortcomings in functionality and they obviously have disappeared on the web.

Then I tried alphabeans, but found it rather complicated to implement.

Now I have come across jscape's iNet Factory, a very impressive set of functionality that I found was easy to implement. I was very happy to see that they support IMAP, too!

But I have one issue with their set of beans. One word in advance - I don't know much about Java and the architecture of beans, so I try to explain how I understand it:

When I use the SMTP bean and retrieve a message, the bean returns an emailMessage object. When I have that, I have access to all their message related methods (like getCC() or getBCC() etc.). So far, so nice.

When I use the Pop3 bean and try to compose a message, I see no way to create a emailMessage object. That I need, though, to access methods like setCC. Unfortunately, there is no message bean that I could use to create a message object.

Now my assumption: A message bean is not included since it is not an interface bean. As far as I understand Servoys bean implementation, I basically have access to interface beans.

So what could I do to get hold of a message object or what should I ask the guys at Jscope to do to get me going?

Thanks for your input!

Patrick

P.S. Wouldn't it be cool if Servoy bundled that package :lol: It includes ftp, http, https, smtp, pop3, imap4, mime, nntp, nslookup, telnet, whois and some more. And the implementation is really excellent. It is, for example, possible to retrieve single parts of a multi-part message with ease...
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Postby Odysseus » Tue Jun 08, 2004 6:08 pm

I may be completely wrong but should you use SMTP to create (and send) and pop3 or imap to receive :shock:

So I would look into the SMTP bean for a create method
Odysseus

Citizen of Old Europe
Odysseus
 
Posts: 205
Joined: Wed Sep 10, 2003 9:34 pm
Location: Belgium

Postby patrick » Wed Jun 09, 2004 8:06 am

Oops. I mistyped an important part. It should be

When I use the SMTP bean to compose a message


You are absolutely right, but I know that much about mailing... :wink: [/b]
patrick
 
Posts: 3703
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: Mail beans

Postby mattman » Wed Jun 09, 2004 10:47 am

patrick wrote:So what could I do to get hold of a message object or what should I ask the guys at Jscope to do to get me going?

Thanks for your input!

Patrick

P.S. Wouldn't it be cool if Servoy bundled that package :lol: It includes ftp, http, https, smtp, pop3, imap4, mime, nntp, nslookup, telnet, whois and some more. And the implementation is really excellent. It is, for example, possible to retrieve single parts of a multi-part message with ease...


Patrick, I'm sure you've seen the How To at this link

http://forum.servoy.com/viewtopic.php?t=1408

(since you posted there)

I'm using the Networking beans from EleganJBeans with much success.

http://www.elegantjbeans.com/network/

I have not been using POP (which is for incoming - as well as IMAP) but I use SMTP all the time. I use it to send out a few thousand emails on a weekly basis. I haven't worked with (or even seen) the beans you are mentioning so I can't say much about them.

Good luck with your research.
Matt Petrowsky
mattman
 
Posts: 160
Joined: Wed Aug 06, 2003 8:23 am
Location: Murrieta, CA


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 29 guests