Mailing from a C program

Ewan Birney birney at molbiol.ox.ac.uk
Sun Jan 7 08:47:11 EST 1996


	Does any C and UNIX gurus out there know the best way to mail
a file from inside a C program.

	Unfortunately the call

	system("mail joe.bloggs at nowhere < filename") doesn't work as
the redirect fails

	I could use perl/csh to wrap around the mail but that is a bit
of a pain. There is probably some really slick way - any pointers?



More information about the Bio-soft mailing list

Send comments to us at biosci-help [At] net.bio.net