Filepro and Email Generation
Richard D. Williams
richard at appgrp.net
Thu Oct 21 08:13:09 PDT 2004
Linda,
It is very easy to e-mail from filepro.
Use mutt or sendmail. I like mutt for sending attachments.
1) create a nocodes output format. generate the form and cat it thru
sendmail.
make sure you have the From: To: and Subject at the top of the output
format.
cat filename | /usr/lib/sendmail -t
2) create a form using hplaser use pcl2pdf or some other utility to
create a pdf and use mutt to send the attachment.
echo -e "This message is in the body of the e-mail" | mutt -F
/who_you_are_file -s "subject" -a fullpath_of_attachement
to_email at address.com
I create individual sender profiles for each user and a generic one just
in case. I store these in /appl/MUTT/user_name.
sample file:
set hostname=appgrp.net
my_hdr From:richard at appgrp.net
set realname="Richard D. Williams"
Hope this helps,
Richard D. Williams
Linda Hapner wrote:
> I have a reader service program (bingo cards from magazine items) that
> was written years ago and we've been printing forms and mailing to
> customers. The program works great, but in todays technology,
> everyone wants the inquiry information emailed to them.
>
> Of course an export file is easy to do, and I do this for our big
> advertisers who request it. But we'd have to hire a person to
> coordinate the volume we get in both ads and product mentions each
> month for two magazines.
>
> I've been asked to look into electronic transmittal of these inquiries
> for everyone and to scrap the expensive printing and mailing -- which
> actually makes some sense.
>
> Can anyone tell me how an automatic email and attachment can be
> coordinated to run smoothly within filepro? I have all the
> information in the files -- I'm just not sure how one would output for
> an email and an attachment.
>
> The customer has a SCO unix system and it is connected to the internet.
>
> If anyone is doing this type of work and would like to quote on
> assisting, please send an email to me at my private address of
> linda at hapner.com <mailto:linda at hapner.com>. I'm hoping there is a
> command out there or a setup procedure that I'm not aware of that
> would facilitate this.
>
> Thanks much
>
> Linda Hapner
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20041021/8ae8bc42/attachment-0001.html
More information about the Filepro-list
mailing list