Your Open Source
Free YourOpenSource Softwares Online Resources and Softwares Downloads with Demo
Related Links
PHP
SMTP commands authentication
Sending mail SMTP Auth
SMTP-AUTH can be used to allow users to relay mail while denying relay service to unauthorized users, such as spammers.The following commands to able sending the mail from Telnet.
C:>Telnet youropensource.com 25
Telnet> HELO mail.youropensource.com
Telnet> Ehlo YOS
Telnet> AUTH PLAIN aEbeFegHRDseYOs1245aYu=
Telnet> MAIL FROM: smtp@youropensource.com
Telnet> RCPT TO: clp_sekar@rediffmail.com
Telnet> DATA
Subject: Test mail
Enter the message
.
QUIT
Note:-
AUTH PLAIN base64_encode("\000YOUR-EMAIL-ID\000PASSWORD")
In PHPcode example,
"AUTH PLAIN ". base64_encode("\000admin@youropensource.com\000p@ssw0rd")."="
101
Dec 10 09 03:43:47
Sekar
Rating : 









|
|||
Digg
Yahoo
delicious