Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] faxmail



Hello,

Prasanna <prasanna@dsfinternet.com> writes:

> hi,
> 
> i hava a file which contain the raw message of a mail.
> i want to send this file using faxmail.
> how i will send it ?
> faxmail, it reads from standard input.
> how i will test it in $ prompt ?

> the attachment file conatain message details
> 
> 
> Return-Path: <prasanna@dss.com>
> Delivered-To: prasanna@dss.dsf
> Received: (qmail 5220 invoked from network); 16 Dec 2000 12:19:35 -0000
> Received: from ws29.dsf (root@192.168.1.29)
>   by ws29.dsf with SMTP; 16 Dec 2000 12:19:35 -0000
> Message-ID: <603246.976969174457.JavaMail.root@ws29.dsf>
> From: prasanna@dss.dsf
> To: prasanna@0116867681
> Subject: test fax
> Mime-Version: 1.0
> Content-Type: text/plain
> Content-Transfer-Encoding: 7bit

See man (1) faxmail, MIME Processing

echo " From: prasana@dss.dsf \n
Subject: test fax\n
Mime-Version:1.0\n
Content-Type: text/plain\n
Content-Transfer-Encoding: 7bit\n
your text " | /usr/bin/faxmail -n -d prasanna@0116867681

Should do the job.

Regards
Dieter

-- 
Dieter Kluenter   | Systemberatung
BFI Rendering und Image Processing
Tel: 040.64861967 | Fax: 040.64891521


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services