user1@ubuntu-desktop:~$ openssl enc -base64 <<< 'email@gmail.com' d2VidGVycm9ydXNAZ21haWwuY29tCg== user1@ubuntu-desktop:~$ openssl enc -base64 <<< 'tkfkdgkqslek.' MThhbGNsaaaaYQo=
openssl s_client -connect smtp.gmail.com:465 -crlf 220 smtp.gmail.com ESMTP ud10sm124759201pab.27 - gsmtp helo 250 smtp.gmail.com at your service auth login 334 VXNlcm5hbWU6 d2VidGVycm9ydXNAZ21haWwuY29tCg== 334 UGFzc3dvcmQ6 MThhbGNsaaaaYQo= mail from: <email@gmail.com> 250 2.1.0 OK tv6sm70519976pab.4 - gsmtp rcpt to: <email@email.com> 250 2.1.5 OK uz4sm124932217pac.39 - gsmtp data 354 Go ahead uz4sm124932217pac.39 - gsmtp Subject: Testing email from telnet fjaksdlfjsdklfdjskfsdf sdfsdfsdfasdfsdfasdfasfasdfasdfs . quit 221 2.0.0 closing connection uz4sm124932217pac.39 - gsmtp read:errno=0
로그인 엑세스 허용 위험 범위 설정 – 로그인이 안될시 아래에서 설정을 바꿀것.
https://www.google.com/settings/security/lesssecureapps