Sending out Mail using Telnet


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. telnet smtp.blueyonder.co.uk 25
  2. Trying 195.188.53.60...
  3. Connected to smtp.blueyonder.co.uk.
  4. Escape character is '^]'.
  5. 220 asmtp-out4.blueyonder.co.uk ESMTP Fri, 16 Jan 2009 16:33:33 +0000
  6. HELO smtp.blueyonder.co.uk
  7. 250 asmtp-out4.blueyonder.co.uk Hello smtp.blueyonder.co.uk [80.194.160.160]
  8. MAIL FROM:paulbooker@blueyonder.co.uk
  9. 250 OK
  10. RCPT TO paulbooker@drupalr.co.uk
  11. 500 unrecognized command
  12. RCPT TO: paulbooker@drupalr.co.uk
  13. 250 Accepted
  14. DATA Hello Paul
  15. 501 unexpected argument data
  16. DATA Hello Paul .
  17. 501 unexpected argument data
  18. DATA
  19. 354 Enter message, ending with "." on a line by itself
  20. Hello Paul
  21. .
  22. 250 OK id=1LNrgC-00055o-OE
  23. Quit
  24. 221 asmtp-out4.blueyonder.co.uk closing connection
  25. Connection closed by foreign host.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.