Advertisement
Guest User

Untitled

a guest
Apr 5th, 2018
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. [[ paq@iota ~ ]] echo 49 | swaks --server 10.0.76.255:11125 --attach-name 49.txt --attach - --from billy@microsoft.com --to stallman@gnu.org --header 'Subject: Hello!' --body 'Hello, my friend! How are you?'
  2. === Trying 10.0.76.255:11125...
  3. === Connected to 10.0.76.255.
  4. <- 220 xxx-mail-bcc-54f7bc5ffb-77vbp Python SMTP 1.1
  5. -> EHLO localhost
  6. <- 250-xxx-mail-bcc-54f7bc5ffb-77vbp
  7. <- 250-SIZE 33554432
  8. <- 250-8BITMIME
  9. <- 250-STARTTLS
  10. <- 250 HELP
  11. -> MAIL FROM:<billy@microsoft.com>
  12. <- 250 OK
  13. -> RCPT TO:<stallman@gnu.org>
  14. <- 250 OK
  15. -> DATA
  16. <- 354 End data with <CR><LF>.<CR><LF>
  17. -> Date: Thu, 05 Apr 2018 19:15:12 +0300
  18. -> To: stallman@gnu.org
  19. -> From: billy@microsoft.com
  20. -> Subject: Hello!
  21. -> X-Mailer: swaks v20130209.0 jetmore.org/john/code/swaks/
  22. -> MIME-Version: 1.0
  23. -> Content-Type: multipart/mixed; boundary="----=_MIME_BOUNDARY_000_14470"
  24. ->
  25. -> ------=_MIME_BOUNDARY_000_14470
  26. -> Content-Type: text/plain
  27. ->
  28. -> Hello, my friend! How are you?
  29. -> ------=_MIME_BOUNDARY_000_14470
  30. -> Content-Type: application/octet-stream; name="49.txt"
  31. -> Content-Description: 49.txt
  32. -> Content-Disposition: attachment; filename="49.txt"
  33. -> Content-Transfer-Encoding: BASE64
  34. ->
  35. -> NDkK
  36. ->
  37. -> ------=_MIME_BOUNDARY_000_14470--
  38. ->
  39. ->
  40. -> .
  41. <- 250 OK
  42. -> QUIT
  43. <- 221 Bye
  44. === Connection closed with remote host.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement