Professional Documents
Culture Documents
Lab03bSMTP COMMANDS TO SEND EMAILS USING GMAIL
Lab03bSMTP COMMANDS TO SEND EMAILS USING GMAIL
Lab03bSMTP COMMANDS TO SEND EMAILS USING GMAIL
You should understand that this lab will only work if you follow the instructions given to you by your
instructor. You need to setup openSSL and allow your sending email address certain permissions to be
able to send emails from a non-secure client like the terminal.
● ehlo gmail.com
● auth login (after giving this command you will receive VXNlcm5hbWU6, which means
‘UserName:’)
● enter your base64 encoded username (after giving this command you will receive
UGFzc3dvcmQ6 which means ‘password:’)
● enter you base64 encoded password.
● data
● type you email here and when you are done. Enter a (.) on a separate line by itself and hit enter.
1. The IP address and TCP port used by the host which is sending the email:
2. The IP address and the TCP port used by the SMTP server:
3. Who is sending the email:
4. Who is receiving the email:
5. When was the email sent:
6. What was the message, and what was the subject of the email:
7. The IP address and TCP port used by the host which is sending the email:
8. See the details of IMAP/POP3 and try to use the openSSL to read emails as well.