Computing.Net > Forums > Unix > Send mail using telnet

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Send mail using telnet

Reply to Message Icon

Name: ch Bushu
Date: May 26, 2009 at 05:54:35 Pacific
OS: Unix
Subcategory: General
Comment:

Hi Frens,
I have to send output of a shell script as a mail to lotus notes mail ID using telnet.
I tried the below:
telnet Smtphostname 25

MAIL FROM: frommailID@hostname.com

RCPT TO: lotus@mailid

DATA

SUBEJECT : testmail
Hi This is a test mail
.
quit

But as body of the mail, I have to take an output of a script.

Can anyone help me for this asap since I need to deliver this urgently?

Thanks in advance..



Sponsored Link
Ads by Google

Response Number 1
Name: ghostdog
Date: May 26, 2009 at 06:42:57 Pacific
Reply:

why telnet? use mailx or mail . man mailx for more info.


0

Response Number 2
Name: ch Bushu
Date: May 26, 2009 at 07:31:41 Pacific
Reply:

I dont know why but I am not getting mails if I use mailx command


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Send mail using telnet

UNIX can't send mail out www.computing.net/answers/unix/unix-cant-send-mail-out/2711.html

How to send mail on UNIX to smtp mail www.computing.net/answers/unix/how-to-send-mail-on-unix-to-smtp-mail/2394.html

Sending mails on error occurance www.computing.net/answers/unix/sending-mails-on-error-occurance/7087.html