1830899 Members
2847 Online
110017 Solutions
New Discussion

Re: sendmail command

 
Kenn Chen_1
Advisor

sendmail command

How do i use sendmail command to test to send a text file to external email address. Thanks.
4 REPLIES 4
Clemens van Everdingen
Honored Contributor

Re: sendmail command

Hi,

Read this message, it explains well.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbeb26af52b04d5118fef0090279cd0f9,00.html

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Deepak Extross
Honored Contributor

Re: sendmail command

If you want to send the file as an attachment, try
uuencode | sendmail

If you want the file pasted inline, try
sendmail <
S.K. Chan
Honored Contributor

Re: sendmail command

Simple test (asuming your textfile is "data")

# sendmail skchan@yahoo.com < data
V. V. Ravi Kumar_1
Respected Contributor

Re: sendmail command

hi,

try this.

#sendmail -v uerid < filename


regds
ravi
Never Say No