Re: Use JavaMail to access SquirrelMail?
- From: RedGrittyBrick <RedGrittyBrick@xxxxxxxxxxxxx>
- Date: Thu, 22 May 2008 15:16:53 +0100
ngxfer001@xxxxxxxxx wrote:
Dear Experts,
I want to write an application to download document from my company
squirrelmail. I know that it is just a PHP web interface for accessing
mail located inside the company mail server.
I would like to know is there anyway to get the mail content directly
from the squirrelmail without connecting to the company mail server.
Sure, since AIUI SquirrelMail presents a web-based mail interface using HTTP and HTML, those are the methods your Java program would have to use. See HttpUrlConnection etc. You'll probably need an (X)HTML parser too.
Cause my program plan to use outside the company, I am worried that I
will have a problem for connecting to the company's mail server
directly.
Then you're likely to have similar problems accessing internal HTTP servers (such as SquirrelMail) from the outside too.
For programmatic access to mail, SMTP must be a lot easier than HTTP.
--
RGB
.
- References:
- Use JavaMail to access SquirrelMail?
- From: ngxfer001
- Use JavaMail to access SquirrelMail?
- Prev by Date: Re: how to convert from BigInteger to Hex
- Next by Date: Re: Use JavaMail to access SquirrelMail?
- Previous by thread: Use JavaMail to access SquirrelMail?
- Next by thread: Re: Use JavaMail to access SquirrelMail?
- Index(es):
Relevant Pages
|