i have a text file which contains the following:
format:(format is : ID,name,email,region)
i need a script to extract the email address from the text file and
send a reply to the email address in the text file.
can you please help
i need a script to extract the email address from the text file and
send a reply to the email address in the text file.
can you please help
> i need a script to extract the email address from the text file and
> send a reply to the email address in the text file.
> can you please help
> i need a script to extract the email address from the text file and
> send a reply to the email address in the text file.
> can you please help
n=1
email=`while read -n1 c
do
case $c in
,) n=$(( $n + 1 )) ;;
esac
[ $n -eq 3 ] && printf "%c" $c
done < textfilename`
But you'd do better to read the man page for "cut", paying
particular attention to the -d and -f options.
--
Chris F.A. Johnson http://cfaj.freeshell.org
===================================================================
My code (if any) in this post is copyright 2002, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
a simple sed action will do the stuff.
like this?
while read -r line
do email=`echo $line|awk -F"," '{print $3}'`
this is reply
**
done <inputfile
JP
> i need a script to extract the email address from the text file and
> send a reply to the email address in the text file.
> can you please help
1. Need e-mail remailer to send to address in body of e-mail
Just wondering if anyone can help
I need to set something up that will grab an e-mail address from the first
line in the body of an email and forward the entire message to that address.
Does anyone know what can do this
Any Info would help.
--
Kind Regards, Warwick
__________________________
Warwick Clarke
Exchange Administrator
Pacific Commerce Australia
Sydney - Melbourne
Phone (Direct) : +61 2 9490-7744
Fax : +61 2 9490-7700
Mobile : 0413 831 138
Web : www.pacificcommerce.com.au
___________________________________________________________
eCommerce Transaction Infrastructure - EDI - Catalogues - Web Commerce
The information in this Mail is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this Mail
by anyone else is unauthorised. If you are not the intended recipient, any
disclosure, copying, distribution or any action taken omitted to be taken
in reliance of it is prohibited and may be unlawful. When addressed to our
clients any opinion or advice contained in this Internet Email are subject
to Pacific Commerce terms and conditions.
2. OPTi931
3. help with sed extracting email address from text file
4. Free SCO OS5 seems to have corrupted my DOS/W95 filesystem.... :-\
5. extracting EMAIL addresses from a text file
6. Tty, y? because we like you!
8. Security of files own by root in other users directories
9. How to enable SMTP socket to send email to other email system
10. sending email w/o having an email server
11. Cannot receive emails.. but can send emails..help
12. >>>15.4 MILLION EMAIL ADDRESSES...PLUS OVER $2,000 WORTH OF FREE EMAIL MARKETING SOFTWARE!
13. Help for sending Email with Text file