Jump to content

SMTP server in php with fsocket()


Picatta

Recommended Posts

[quote]I already know I can use mail() to send mail, but that requires use of an smtp server, which is what I'm aiming at using php for.[/quote]
Well... its possible, but practical Im not sure. I once wrote a webserver in php, but gave up when I couldn't get php scripting to work.

I know there isn't really a great deal of doc on sockets in php, but I did find [url=http://beej.us/guide/bgnet/output/html/index.html]this[/url] usefull. It refers to sockets in C, but php's much the same.

You might also find [url=http://nanoserv.si.kz/]nanoserv[/url] to be of interest. Its wasn't complete when I was making my server, but a quick glance seems it may be more complete now.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.