I know of the mail() function but what I want to do is connect to a SMTP server (using sockets), send the needed commands and then close the socket. Can anyone show me how to do this or maybe give me a link to a site/tutorial that does this?
I also have another question regarding this issue; is it possible to check if an email is valid using sockets? Not just validate the pattern but validate the email itself...
Thanks in advance!