🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by zombie Thu, 03 Dec 1992 00:09
how do I email an article to a third party?
#2632
Author: zombie
Date: Thu, 03 Dec 1992 00:09
14 lines
1136 bytes
In trn, how do I email an article to a third party?  The only way
that I have been able to do this is to R (include the article),
then enter the editor, and change the To: field.  This is kind of
klunky.

Thanks,
Erik


---
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                    zombie@redeye.EBay.Sun.COM                    <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Re: how do I email an article to a third party?
#2640
Author: Steve Lodin
Date: Thu, 03 Dec 1992 14:30
18 lines
1310 bytes
In article <_591Hcux2b@atlantis.psu.edu>, barr@pop.psu.edu (David Barr) writes:
> In article <1fjj7lINNfk8@male.EBay.Sun.COM> zombie@EBay.Sun.COM writes:
> >
> >In trn, how do I email an article to a third party?
> 
> |mail foo@bar.baz
> 

Make sure you don't use any funny characters in that email address
like : or %.  It will choke and puke.

Steve
-- 
Steve Lodin	Internet: swlodin@kocrsv01.delcoelect.com  UUCP: deaes!swlodin

	"What we must decide is how we are valuable rather 
	than how valuable we are." -- Edgar Friedenberg
Re: how do I email an article to a third party?
#2659
Author: J. Blustein
Date: Sat, 05 Dec 1992 15:38
69 lines
2670 bytes
In article <1fjj7lINNfk8@male.EBay.Sun.COM>
zombie@EBay.Sun.COM asked:
>
>In trn, how do I email an article to a third party?  The only way
>that I have been able to do this is to R (include the article),
>then enter the editor, and change the To: field.  This is kind of
>klunky.

    I defined a macro `^F' to call a script to do this.  (If you can
see improvements to the script please tell me.  I started programming
in sh recently, and I'm not sure I've got the hang of it.)

    Here's the macro definition:
	^F	%(%m=[ap]?|$TRNLIB/forward.article "%s" :^F)

    Here's the script it calls:
#! /bin/sh 

#++
# mails news article (stdin) to user specified *AND*
# puts copy of mail in outgoing mail folder.
# 
# PARAMETERS:
#    $1  The subject of the article 
#    $2- The recipients
#
# AUTHOR:   Jamie Blustein <jamie@uwo.ca>
# CREATED:  November 1992
# MODIFIED: 14 November 1992
#--

# Get default values from the command line
if [ $# -eq 0 ] ; then 
   defsub="Forwarded news article"
else
   defsub="$1"
   if [ "$2" ] ; then 
     todef="$2" 
     shift ; shift
     for i do
        todef=${todef}" "$i
     done
     showdef=\["$todef"\]
   fi
fi

# Get subject and recipients from user (using defaults)
echo -n "To: $showdef " > /dev/tty  
read < /dev/tty to

if [ -z "$to" ] ; then 
   if [ -z "$todef" ] ; then
      exit 1
   else
      to=$todef 
   fi
fi

echo -n "Subject: [$defsub] " > /dev/tty  
read < /dev/tty subject
if [ -z "$subject" ] ; then 
   subject=$defsub ; fi


cat | /usr/bin/mail -s "$subject" "$to" 

-- 
James Blustein                                        `Did you say "knives"?'
<jamie@uwo.ca>                                        `*Rotating* knives, yes.'
Re: how do I email an article to a third party?
#2674
Author: Rob Stampfli
Date: Mon, 07 Dec 1992 00:45
25 lines
1898 bytes
>>In trn, how do I email an article to a third party?  The only way
>>that I have been able to do this is to R (include the article),
>>then enter the editor, and change the To: field.  This is kind of
>>klunky.
>
>    I defined a macro `^F' to call a script to do this.  (If you can
>see improvements to the script please tell me.  I started programming
>in sh recently, and I'm not sure I've got the hang of it.)
>
>    Here's the macro definition:
>	^F	%(%m=[ap]?|$TRNLIB/forward.article "%s" :^F)

I use the following.  Not very sophisticated, but it gets the job done:

	^O	| cat /dev/tty - | mailx -s "%S"

Here how it works:  When you type ^O from rn, you see the above string. 
You then add the address(es) of the recipient(s) and hit <CR>.  After that,
you can prepend a brief message, like "Saw this on Netnews and thought
you would find it interesting.".  Add a couple of <NL>s after your msg.
After entering what you want (or if you don't want to say anything), hit ^D,
and the article will be appended to the email and mailed.
-- 
Rob Stampfli  rob@colnet.cmhnet.org      The neat thing about standards:
614-864-9377  HAM RADIO: kd8wk@n8jyv.oh  There are so many to choose from.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads