> Thank you, RedGrittyBrick
>
[quoted text clipped - 4 lines]
> it out? query the administrator involve alot of steps in my company
> and time consuming.
You won't be able to find the mail server address from SquirrelMail. It's not a
user configurable option in SquirrelMail. SquirrelMail is not a SMTP or
IMAP/POP server. It is merely a mail client with a Web interface which itself
requires SMTP and IMAP servers.
> Do you think JavaMail will work in this case?
Not to access SquirrelMail. They are two entirely different things. JavaMail is
an API for talking directly to an SMTP server for mail submission and to an
IMAP/POP server for reading mail. You would need to be able to communicate with
those servers to use JavaMail.
> actually I am not sure
> if the mail server can access from outside world or not? This mail
> thing is new to me, is it general practice for squirrelMail mail
> server to block out direct access from outside?
It's nothing to do with SquirrelMail. SquirrelMail uses SMTP/IMAP services but
it doesn't control access to them. That is up to those servers themselves, and
other policies within the border firewall.
It is quite common, however, for an organization to only allow external access
to mail via a Webmail interface.

Signature
Nigel Wade
ngxfer001@gmail.com - 22 May 2008 16:16 GMT
Thank you so much for your help, Nigel
Your explanation is very helpful to me. So there is no way to
implement such program, cause the intention for doing this is because
I will receive alot of email containing data everyday, which currently
I have to manually open the email and convert to Excel. which waste
alot of my time. so I would like to implement something that
automatically check the email for new mail and convert it to excel in
a folder, I am really desperate need your valuable suggestion? >.<
Thank you for your help.
Best Regards
Ferdinand Ng
Nigel Wade - 22 May 2008 16:49 GMT
> Thank you so much for your help, Nigel
>
[quoted text clipped - 5 lines]
> automatically check the email for new mail and convert it to excel in
> a folder, I am really desperate need your valuable suggestion? >.<
There is no way that you can perform that operation with SquirrelMail/JavaMail.
You might be able to do something as outlined by RedGrittyBrick with HTTP. But
that would require you figuring out how to authenticate with SquirrelMail, then
check your mail and download it. Not trivial, and not something I can assist
with.
What you really need to do is talk to your mail admins. about your requirements
and how they can be met. Direct IMAP access would be best, then you can use
JavaMail to access your mail.

Signature
Nigel Wade