Command to send mail with telnet:

telnet smtp.hostname.com 25

HELO local.domain.name
MAIL FROM: test@test.ca
RCPT TO: your@mailtotest.com
DATA
My message
.
QUIT