I am using iplanet messaging 5.2. I want to send mail using command line. Anyone knows exact com

I am using iplanet messaging 5.2. I want to send mail using command line. Anyone knows exact command line syntax.Thanks-Vasu
[152 byte] By [709605] at [2007-11-25 7:12:35]
# 1

#telnet 0 25

mail from: user1#email source

rcpt to: user2@domain.com#email destination

data#begin email content

Subject: Hi, This is a test mail #optional subject

Hi, Please don't pay attention to this email, just a test

.#end email content

quit#Quit SMTP

#

709270 at 2007-6-29 17:46:23 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
You can use any tool, like mail or mailx (or telnet to port 25)It all works, I use it myself.
Niels de Troye at 2007-6-29 17:46:23 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
U can use mailx or sendmail command using command line to send mails
708574 at 2007-6-29 17:46:23 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...