ehlo
250-mx.google.com at your service, [xx.xx.xx.xx]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
250 ENHANCEDSTATUSCODES
auth login
334 VXNlcm5hbWU6
334 UGFzc3dvcmQ6
235 2.7.0 Accepted
mail from:
250 2.1.0 OK fr1sm9516362pbb.26 - gsmtp
rcpt to:
250 2.1.5 OK fr1sm9516362pbb.26 - gsmtp
data
354 Go ahead fr1sm9516362pbb.26 - gsmtp
test
.
250 2.0.0 OK 1368765135 fr1sm9516362pbb.26 - gsmtp
quit
其它:
產生 auth plain
printf "\0account@gmail.com\0password" | base64
產生 auth login
echo account@gmail.com |base64
echo password |base64
參考資料
http://www.fehcom.de/qmail/smtpauth.html
沒有留言:
張貼留言