I have coded this program in asm which sends emails, the problem is that it sends the email when i test it on my local host and everything seems to be go without a hitch, but when i tested it on "mx2.hotmail.com:25" it ALSO worked, the server even replied "mail queued for delivery" but the email was never sent to me. has anybody got any ideas?

the data that i sent was:

MAIL FROM: someemail@hotmail.com
RCPT TO: myemail@hotmail.com

Subject: Hey dude
From: someemail@hotmail.com
To: myemail@hotmail.com

Blah blah blah

Posted on 2006-04-15 23:42:02 by XCHG
Might be deleted as spam (or simply ignored) since it wasn't sent from Outlook/Express or Hotmail.
Posted on 2006-04-16 00:49:36 by SpooK
You can't do that to hotmail. They have the sender id attached to their own hotmail accounts.
Posted on 2006-04-16 03:22:01 by roticv
uh that is sad, anyway, thanks guys
Posted on 2006-04-19 21:24:08 by XCHG
You probably also want to at least put a Date: header in there along with your From: To: and Subject: .  Most virus/spam checkers score big on a  missing Date: header because that is a sign of a script kiddie smtp engine.
Posted on 2006-04-21 22:38:26 by rdaneel

MAIL FROM:<source@hotmail.com>
RCPT TO:<dest@hotmail.com>
Posted on 2006-04-21 23:02:02 by comrade
Some SMTP servers also require you to HELO a domain name:

HELO csa.shacknet.nu
MAIL FROM: bkeller@csa.shacknet.nu
RCPT TO: bkeller@codegurus.org
Testing smtp data

That worked for my mail server, unfortunately my Host doesn't allow anyone but localhost to send email so I had to ssh in then telnet to localhost:25. But my host does require the HELO else it fails to send.

Bryant Keller
Posted on 2006-04-21 23:55:50 by Synfire
Uh yeah i HELOed my IIS 5.1 and i did have to do the same thing with the other SMTP Servers i have connected to like mx2.mail.yahoo.com.

btw what's the format of the Date and time stuff ?
Posted on 2006-04-23 22:10:34 by XCHG
Generally I would use DD Month YY HH:MM:SS as specified in the RFC-0821. Here is an example from that RFC.

        S: MAIL FROM:<>
        R: 250 ok
        R: 250 ok
        S: DATA
        R: 354 send the mail data, end with .
        S: Date: 23 Oct 81 11:22:33
        S: From: SMTP@HOSTY.ARPA
        S: To: JOE@HOSTW.ARPA
        S: Subject: Mail System Problem
        S:  Sorry JOE, your message to SAM@HOSTZ.ARPA lost.
        S:  HOSTZ.ARPA said this:
        S:    "550 No Such User"
        S: .
        R: 250 ok

S is what's sent, R is what's recieved.
Posted on 2006-04-23 23:26:05 by Synfire
thanks for the help man, i appreciate it
Posted on 2006-04-27 22:48:39 by XCHG