Your Open Source

 
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")."="

  • hits 106
  • datetime Dec 10 09 03:43:47
  • author Sekar
  • rating

Rating : 12345

Comments

No Reply..

Quick Reply or Comments

Preview
Your Name:
Your Reply :
<> is a code tag
Enter the verification code: