01-01-2008, 08:41 PM
|
#2 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
Quite simply really. Probably the best way is to connect using fsockopen and then send the data using fputs/ fwrite. SMTP, as it's a protocol, has commands such as: HELO TalkPHP.
You'll be able to find the RFC for the SMTP protocol in many locations, though I don't know its RFC number off hand. Even HowStuffWorks, if you go to the "How Email Works" article - that will give you a basic run down of how to send an email using SMTP via Telnet on the 3rd or 4th page in the article; if I remember rightly. Same principle applies to sending the email through a PHP script.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|