Picatta Posted July 20, 2006 Share Posted July 20, 2006 I was wondering about how I would go about sending simple, one word message via email to someone, using bare sockets, with the fsocket() series. I'm confused. Link to comment https://forums.phpfreaks.com/topic/15107-smtp-server-in-php-with-fsocket/ Share on other sites More sharing options...
Picatta Posted July 20, 2006 Author Share Posted July 20, 2006 *bump*Would it be similar to using telnet to send mail? Link to comment https://forums.phpfreaks.com/topic/15107-smtp-server-in-php-with-fsocket/#findComment-61373 Share on other sites More sharing options...
hitman6003 Posted July 21, 2006 Share Posted July 21, 2006 yes Link to comment https://forums.phpfreaks.com/topic/15107-smtp-server-in-php-with-fsocket/#findComment-61450 Share on other sites More sharing options...
Picatta Posted July 25, 2006 Author Share Posted July 25, 2006 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. Link to comment https://forums.phpfreaks.com/topic/15107-smtp-server-in-php-with-fsocket/#findComment-63260 Share on other sites More sharing options...
trq Posted July 25, 2006 Share Posted July 25, 2006 [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 https://forums.phpfreaks.com/topic/15107-smtp-server-in-php-with-fsocket/#findComment-63265 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.