01-01-2008, 09:15 PM
|
#3 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
If I understand it correctly, you simply open fsockopen and send with the fputs/fwrite the command EHLO or HELO with after that the domain? - HELO - introduce yourself
- EHLO - introduce yourself and request extended mode
- MAIL FROM: - specify the sender
- RCPT TO: - specify the recipient
- DATA - specify the body of the message (To, From and Subject should be the first three lines.)
- RSET - reset
- QUIT - quit the session
- HELP - get help on commands
- VRFY - verify an address
- EXPN - expand an address
- VERB - verbose
But how does it go from there? I know it accepts commands like MAIL and such but how do you lay the connection and really send the mail. Maybe someone can type it out for moi?
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|