Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
630
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. $ swaks -t user@domain.tld -s smtp.gmail.com:587 -tls -a LOGIN
  2. Username: my.gmail.login
  3. Password: my.password
  4. === Trying smtp.gmail.com:587...
  5. === Connected to smtp.gmail.com.
  6. <- 220 smtp.gmail.com ESMTP a45sm2396859eda.3 - gsmtp
  7. -> EHLO e7250
  8. <- 250-smtp.gmail.com at your service, [77.249.1.91]
  9. <- 250-SIZE 35882577
  10. <- 250-8BITMIME
  11. <- 250-STARTTLS
  12. <- 250-ENHANCEDSTATUSCODES
  13. <- 250-PIPELINING
  14. <- 250-CHUNKING
  15. <- 250 SMTPUTF8
  16. -> STARTTLS
  17. <- 220 2.0.0 Ready to start TLS
  18. === TLS started with cipher TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128
  19. === TLS no local certificate set
  20. === TLS peer DN="/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com"
  21. ~> EHLO e7250
  22. <~ 250-smtp.gmail.com at your service, [77.249.1.91]
  23. <~ 250-SIZE 35882577
  24. <~ 250-8BITMIME
  25. <~ 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
  26. <~ 250-ENHANCEDSTATUSCODES
  27. <~ 250-PIPELINING
  28. <~ 250-CHUNKING
  29. <~ 250 SMTPUTF8
  30. ~> AUTH LOGIN
  31. <~ 334 xxxxxxxxxxx
  32. ~> xxxxxxxxxxxxxxx
  33. <~ 334 xxxxxxxxxxxxxxx
  34. ~> xxxxxxxxxxxxxxxxxxxxxxxxxxxx==
  35. <~ 235 2.7.0 Accepted
  36. ~> MAIL FROM:<user@host>
  37. <~ 250 2.1.0 OK a45sm2396859eda.3 - gsmtp
  38. ~> RCPT TO:<user@domain.tld>
  39. <~ 250 2.1.5 OK a45sm2396859eda.3 - gsmtp
  40. ~> DATA
  41. <~ 354 Go ahead a45sm2396859eda.3 - gsmtp
  42. ~> Date: Sun, 23 Apr 2017 10:35:17 +0200
  43. ~> To: user@domain.tld
  44. ~> From: user@host
  45. ~> Subject: test Sun, 23 Apr 2017 10:35:17 +0200
  46. ~> X-Mailer: swaks v20130209.0 jetmore.org/john/code/swaks/
  47. ~>
  48. ~> This is a test mailing
  49. ~>
  50. ~> .
  51. <~ 250 2.0.0 OK 1492936526 a45sm2396859eda.3 - gsmtp
  52. ~> QUIT
  53. <~ 221 2.0.0 closing connection a45sm2396859eda.3 - gsmtp
  54. === Connection closed with remote host.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement