Mail beans

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…

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

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:
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.