Some mail servers require a correct syntax for RCPT TO: and MAIL FROM: lines
in the formats;

MAIL FROM: [color:red]<
user@isp.com>
RCPT TO: <user@isp.com>
[/color]

Failing that, although its wonderful you have done lots of checks to ensure the mail
is sent, perhaps you should start with the bare code, and then add it, heres a start.

on 1:sockread:smtp:{
sockread %a
echo -s Got: %a
}

The above outputs whatever socketname 'smtp' receives to your status window.

On *:Sockopen:smtp:{
sockwrite -n smtp HELO $host
sockwrite -n smtp MAIL FROM: <user@host.com>
sockwrite -n smtp RCPT TO: <user@host.com>
sockwrite -n smtp DATA
sockwrite -n smtp Subject: testing
sockwrite -n smtp hey whats up
sockwrite -n smtp .
sockwrite -n smtp quit
}

This just FORCES the data through, it does not check if its requested, or not, just
merely sends it all, edit 'user@host.com'

Also be aware most (99%) of mail servers will NOT forward, for example;

You cannot, connect to smtp.domain1.com and tell it to send an email
to user@domain2.com, you must connect to domain2.com
smtp server.

Also, if you have the misfortune of using AOL,
you yourself, cannot send an email to an AOL
email from your AOL IP.

Simply, do, /sockopen smtp smtpserver port (Default SMTP port is 25).

Eamonn.