Xavier Bury is out of the office. Original subject: 'Xavier Bury is out ofthe office. Original subject: 'Re: UNIX help?''

2003-06-26 Thread xbury . cs
I will be out of the office starting  26/06/2003 and will not return until
27/06/2003.

I will respond to your message when I return. This or your message is not
forwarded.




Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Xavier Bury is out of the office. Original subject: 'Xavier Bury is out ofthe office. Original subject: 'Xavier Bury is out of the office. Originalsubject: 'Re: UNIX help?'''

2003-06-26 Thread xbury . cs
I will be out of the office starting  26/06/2003 and will not return until
27/06/2003.

I will respond to your message when I return. This or your message is not
forwarded.




Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Xavier Bury is out of the office. Original subject: 'Xavier Bury is out ofthe office. Original subject: 'Xavier Bury is out of the office. Originalsubject: 'Xavier Bury is out of the office. Original subject: 'XavierBury is out of the office. Original subject: 'Re: UNIX help?'''''

2003-06-26 Thread xbury . cs
I will be out of the office starting  26/06/2003 and will not return until
27/06/2003.

I will respond to your message when I return. This or your message is not
forwarded.




Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: UNIX help?

2003-06-26 Thread Sadhunathan Nadesan
|5. UNIX help? (Richard MacLemale)


Perhaps it would be instructive to see a cgi script that is working?
BTW, this is an old one, I now collect the post data in a loop, since
we found we'd sometimes not get all the data.  However, this should work
for a form that is not too long.

You will of course have to replace my qmail command with a sendmail
equivalent.  

Sadhu


#!/usr/local/bin/mc
#*
#
#-= Web Stuff =-
#
# Program name: form.mt
# Version number:   1.0
# Author:   SN
# Date: 10/9/01
# Description:  Process web form messages
# 
# 
#

on startup

  -- collect the information from the form
  read from stdin until empty
  put it into url file:/tmp/itdata.txt
  put urlDecode (it)  into formdata
  split formdata by  and =

  -- email the form contents to the user
  put formdata into url file:/tmp/formdata.txt
  put /var/qmail/bin/qmail-inject '$EMAIL'  /tmp/formdata.txt \
into command_string
  replace $EMAIL with formdata[email] in command_string
  set shellCommand to /bin/sh
  put shell(command_string)

  -- respond to the user
  put Content-Type: text/plain  cr  cr
  put Your information is below  cr
  put command_string
  put keys(formdata) into keywords
  repeat for each line this_item in keywords
put this_item  =  formdata[this_item]  cr
  end repeat

end startup

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Xavier Bury is out of the office. Original subject: 'Xavier Bury is out ofthe office. Original subject: 'Xavier Bury is out of the office. Originalsubject: 'Xavier Bury is out of the office. Original subject: 'XavierBury is out of the office. Original subject: 'Xavier Bury is out of theoffice. Original subject: 'Re: UNIX help?''''''

2003-06-26 Thread xbury . cs
I will be out of the office starting  26/06/2003 and will not return until
27/06/2003.

I will respond to your message when I return. This or your message is not
forwarded.




Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


UNIX help?

2003-06-25 Thread Richard MacLemale
For those CGI gurus out there using MetaCard, I have a question...

I want to send a mail message from my OS X machine that has sendmail on it.
I put the message in a text file, and from the Terminal it runs perfectly.
The command is:

mail [EMAIL PROTECTED]  /textmessage.txt

where textmessage.txt is a text file with the message.

When I run that in Terminal, it works PERFECTLY.

When I run it from a mc cgi script, I get an error message and it sends a
blank e-mail.

Has anyone come across (and solved) this problem before?  And if so, how?

Thanks in advance for any help!

-- 
:)
Richard MacLemale
Network Administrator
J. W. Mitchell High School


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: UNIX help?

2003-06-25 Thread Pierre Sahores
[EMAIL PROTECTED] a écrit :
 
 Richard,
 
 Have you set the directory in Metacard to that which contains the
 file?
 In Terminal, you open in your home directory: in Metacard you'll start
 out in the application's directory.
 
 Try: set the directory to ~/
 
 If that's the case. Or, whichever directory you compose the messages
 in.
 
 HTH.
 
 --
 Brian Yennie
 Chief Technology Officer
 QLD Learning, LLC
 www.QLDLearning.com
 
 PH: (904)-997-0212
 EMAIL: [EMAIL PROTECTED]
 ---

Else, check the permissions to be sure you have access to the email file
in read mode from within your cgi script.
--
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Serveurs d'applications et SGBD Web et PGI
Penser et produire l'avantage compétitif
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Xavier Bury is out of the office. Original subject: 'Re: UNIX help?'

2003-06-25 Thread xbury . cs
I will be out of the office starting  26/06/2003 and will not return until
27/06/2003.

I will respond to your message when I return. This or your message is not
forwarded.




Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard