Quiz and Sendmail
Robert Mills
robert.mills at windsong-services.co.uk
Tue Apr 11 04:17:14 CDT 2006
Matt,
On the way home I had another thought about this.
1. Use INITIAL HEADING to write the address(es) at the start of the
report.
2. Send the output to a disc file in a fixed location.
3. Write a batchjob/script that is scheduled to run on a regular basis.
The batchjob/script does the following.
a. Checks a fixed location (see 2 above) for a file.
b. Strips the first record, containing the recipient address(es), from
the disc file.
c. Invoke sendmail with required parameters and address(es) obtained in
b.
d. Delete file found in a.
"there's more that one way to skin a cat"
regards,
Robert W.Mills
MIS Systems Development Manager
Windsong Services
+44 (0)20 8309 3604
-----Original Message-----
From:
powerh-l-bounces+robert.mills=windsong-services.co.uk at lists.sowder.com
[mailto:powerh-l-bounces+robert.mills=windsong-services.co.uk at lists.sowd
er.com] On Behalf Of Darren Reely
Sent: 10 April 2006 18:38
To: Matthew Cox
Cc: powerh-l at lists.sowder.com
Subject: Re: Quiz and Sendmail
I don't know the sendmail syntax but you might be able to do something
like this to trick Quiz to your will.
set report device printer "sendmail touser"
That might work if sendmail accepts the input file from the pipe.
For this problem I would go with Robert's suggestion.
Darren
Matthew Cox wrote:
> Hello everyone,
> Is it possible to email a report from quiz using sendmail? I'm
new to
> powerhouse and have not been able to find anything in the .pdf books I
> have here.
> If it is possible could someone please post a code snipet that I can
> review/learn from.
> Thanks in advance,
> Matt
>
>
>
--
= = = = = = = = = = = = = = = = = = = = = = = = = = = = Mailing list:
powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
More information about the powerh-l
mailing list