I'm trying to write a web page that can connecto to a pop3 server, and send an email.

The sever is OSX Jaguar (running PHP4.3.0).

I need to be able to run the script on my testing server to connect to the mail server and send the email. the machine running the script will not be the mail server.

My testing machine (OSX client running PHP4.3.0) has a php page that mimics the behavior of an email client like outlook express. This email client logs into the mail server and sends an email.

Most of what I am finding in terms of suggestions out there seem to require sendmail running on the machine hosting the php script. In my case, sendmail is not an option since I'm not running the script on the machine that is a mail server. (dunno if I'm making any sense here...)

Any suggestions?

    I'm trying to write a web page that can connecto to a pop3 server, and send an email.

    Big problems, then...POP3 is "Post-office Protocol", and does not transmit email to the Internet...

    To send mail you must connect to a server/MTA, such as Sendmail, Procmail, etc.

    As to suggestions, take a look at fsockopen() and related functions...might be the way to go.

      Write a Reply...