Re: Use JavaMail to access SquirrelMail?



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
.



Relevant Pages

  • Re: Use JavaMail to access SquirrelMail?
    ... from the squirrelmail without connecting to the company mail server. ... Presumably SquirrelMail uses a different protocol. ...
    (comp.lang.java.programmer)
  • Re: postfix mail server
    ... Building a mail server for 200/300 users (able to grow ... till a thousand) and as a newbie I need an advice ... Marking spam so the user can examine it, ... instead a front device with squirrelmail with iptables ...
    (Debian-User)
  • Re: IMAP, Webmail, and listserv email server questions
    ... >>inbox, sent items, etc whether I am using IMAP or web based email. ... I am pretty familiar with redhat, ... >>willing to learn another mail server. ... Webmail - Squirrelmail, Silkymail, HORDE/IMP... ...
    (comp.os.linux.misc)
  • Re: redhat-list request
    ... say I'm using a web-based interface to my ... If it's your mail server, ... My web interface to my mail is via squirrelmail which uses ... Your laptop will see every folder. ...
    (RedHat)
  • postfix mail server
    ... Building a mail server for 200/300 users (able to grow ... till a thousand) and as a newbie I need an advice ... instead a front device with squirrelmail with iptables ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)