View Full Version : send mail but no smtp

11-19-2006, 07:13 PM

I would like to send mail from my php script. I have all that set up etc and works when i use on a server with smtp configured, however the server i am going to use this on does not have access to any smtp server, local or remote.

Are there any alternatives options that i can use or is smtp the only way?

11-19-2006, 09:55 PM
You can use the fsockopen()-Function to send the Mail "manually" to a different smtp-server.

You can also have a look on this class from Manuel Lemos, which does this task for you:

SeeIT Solutions
11-20-2006, 12:28 PM
the 'mail' function might work.